guys i need a help... i wanna write a java programmee to display the binary number of the entered decimal number.
for ex : in t text area u should type a desimal number and press "Convert" button to display its binary in the next txt field
need help mates,
p.s : should use only 1 statement; stack
If you're dealing with Strings and Integers check out the API documentation for
those classes: String and Integer. In your case most if not all of the work has
been done already and implemented by methods in the Integer class. Convert
an input string (representing a decimal notation of a number) to an Integer and
convert it back again to a string binary representation of that same number.
kind regards,
Jos
ps. I don't understand your ps either.