# Search:

Type: Posts; User: Arslan Ahmad 656

1. ## Thread: Why Percentage Column is 0.00 ???

Replies
1
Views
158

### Why Percentage Column is 0.00 ???

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

This is my code:
-------------------------

import...
2. ## Thread: Printing a Decimal Equivalent of a Binary Number

Replies
6
Views
275

### [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 ---

3. ## Thread: Printing a Decimal Equivalent of a Binary Number

Replies
6
Views
275

### [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. ## Thread: Printing a Decimal Equivalent of a Binary Number

Replies
6
Views
275

### [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