Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Help please!!

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Help please!!

    I have to "write a Java expression to compute 10 base 2".
    I am totally lost, and I'm also new to Java so please keep the hate to a minimum /:

    Thanks!

  2. #2
    Junior Member
    Join Date
    Oct 2011
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Help please!!

    No one can help me?? PLEASE!

  3. #3
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,465
    My Mood
    Grumpy
    Thanks
    0
    Thanked 158 Times in 149 Posts

    Default Re: Help please!!

    What does "compute 10 base 2" mean?

    Do you want 10^2 or 2^10 or convert 10 decimal to binary or something else?
    Improving the world one idiot at a time!

  4. #4
    Super Moderator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,234
    Thanks
    176
    Thanked 817 Times in 760 Posts
    Blog Entries
    5

    Default Re: Help please!!

    You might want to take a moment and read the following article which describes very well how to approach this problem:
    How to Program (stuck on homework? READ THIS BEFORE POSTING)

    I am totally lost, and I'm also new to Java so please keep the hate to a minimum
    Replies are to help, whether they point you towards the API, write out code, or point you to a page showing you how to ask questions - they are always to help you out. It is only hate if perceived as such in the mind of the receiver.