Search:

Type: Posts; User: Arslan Ahmad 656

Search: Search took 0.17 seconds.

  1. [SOLVED] Re: Printing a Decimal Equivalent of a Binary Number

    What would I do if it were a string. I would simply multiply the characters by the increasing powers of two to get the equivalent decimal number.

    --- Update ---



    No, i am talking about...
  2. [SOLVED] Re: Printing a Decimal Equivalent of a Binary Number

    That's a problem. If I had to work with strings, I would have done it myself. We have to scan an integer value from CMD using nextInt(). The problem I am facing is that I am not able to find an...
  3. [SOLVED] Printing a Decimal Equivalent of a Binary Number

    This problem is from Java How to Program 9e, chapter 4, exercise 31.

    It asks me to convert a binary number in to decimal.
    How to program this in java? I am not able to find an effective algorithm...
Results 1 to 3 of 4