Search:

Type: Posts; User: Arslan Ahmad 656

Search: Search took 0.69 seconds.

  1. Replies
    1
    Views
    1,125

    Why Percentage Column is 0.00 ???

    Since the array is always passed by refrence, it should have been modified, but it did not.
    Help me please.

    Thanks in advance.
    This is my code:
    -------------------------


    import...
  2. [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...
  3. [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...
  4. [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 4 of 5