|
tosinadeda (m)
|
plssssssssssssssss i need help on his
|
|
|
|
|
|
proxies (m)
|
ehen , your plan no go work o, so na here u wan do your assignment abi, anywayz, pay me make i give u d answer, u fit py in kind(gimme a sweet babe) too oooo 
|
|
|
|
|
|
buyolala (m)
|
hi guy
i see yours as a simple problem trusting fellow nairalandians
watch out
good luck
|
|
|
|
|
|
chukxy
|
hi guy, I just read your post. I promise to give you the solution morrow. Stay connected. Tnx.
|
|
|
|
|
|
|
|
Bossman (m)
|
What have you done so far? I suggest that you at least take a stab at it, then when you get stuck, post here for some assistance or check the forums.
This sounds like a homework assignment. We will not be doing you any favour by doing it for you. Believe me, the "real world" is brutal! You have to be able to solve problems on your own for you to be a developer. If you can't, they will get rid of you quickly. That's if you get past the interview process. I occasionally participated in Java technical interviews at previous clients. Your problem solving skills are very critical your survival as a developer. Enough said!
|
|
|
|
|
|
proxies (m)
|
@ bossman
if u don't have a solution then u say rather thn telling u it's an homework,
anyway, na u sabi?
|
|
|
|
|
|
SayoMarvel (m)
|
Good News, Calculator+ (a program that i coded by myself) with incredible GUI and also extremely user friendly has that as one of its functions. But oops, the program is not free of charge. If you need it, you have to buy. My e-mail address is marvelindaclub@yahoo.com-Me, Myself & I.
|
|
|
|
|
|
SayoMarvel (m)
|
Good News, Calculator+ (a program that i coded by myself) with incredible GUI and also extremely user friendly has that as one of its functions. But oops, the program is not free of charge. If you need it, you have to buy. My e-mail address is marvelindaclub@yahoo.comIf you can't afford it, then go and study the math class of Java.Lang package thoroughly. -Me, Myself & I.
|
|
|
|
|
|
chukxy
|
pally, just like i promised yesterday, here is the solution to the problem:
class BinaryDec { public static void main(String arg[]) { String binaryno = arg[0]; int decno; decno= Integer.parseInt(binary,2); System.out.println(''The Decimal equivalent =''+decno); } }
compile, javac BinaryDec.com run java BinaryDec 1101
the ans will be 13.
Thanks and stay connected.
|
|
|
|
|
|
emmotions
|
HELLO PROGRAMMERS IN JAVA, I NEED JDK Compiler on my Computer. How do I get it. Can anyone help with a site where I could get it or if you have any in your flash, please help me with it. I need it, so I could practise on my Computer. here is my email: emmotionalkuns@yahoo.com
|
|
|
|
|
|
tosinadeda (m)
|
ehen , your plan no go work o, so na here u wan do your assignment abi, anywayz, pay me make i give u d answer, u fit py in kind(gimme a sweet babe) too oooo  i give u your sister, abi she no sweet ni??? pally, just like i promised yesterday, here is the solution to the problem:
class BinaryDec { public static void main(String arg[]) { String binaryno = arg[0]; int decno; decno= Integer.parseInt(binary,2); System.out.println(''The Decimal equivalent =''+decno); } }
compile, javac BinaryDec.com run java BinaryDec 1101
the ans will be 13.
Thanks and stay connected.
thanks man
|
|
|
|
|
|
proxies (m)
|
the program run??
|
|
|
|
|
|
Centey (m)
|
pally, just like i promised yesterday, here is the solution to the problem:
class BinaryDec { public static void main(String arg[]) { String binaryno = arg[0]; int decno; decno= Integer.parseInt(binary,2); System.out.println(''The Decimal equivalent =''+decno); } }
compile, javac BinaryDec.com run java BinaryDec 1101
the ans will be 13.
Thanks and stay connected.
The program is a good one and it actually ran. However on compilation, it threw some errors 1. The variable declared was binaryno in line 5 but the variable used in line 7 was binary, thus change binary to binaryno in line 7 2. The quotations marks should be double qoute " and not two single quotes '' in line 8 Good program, Kudos
|
|
|
|
|
|
chukxy
|
If you had compiled this program before now, it must have displayed error during compilation due to mistake in line 7; but i have just corrected th error. So you can go on compile and run the program.
Thanks.
pally, just like i promised yesterday, here is the solution to the problem:
class BinaryDec { public static void main(String arg[]) { String binaryno = arg[0]; int decno; decno= Integer.parseInt(binaryno,2); System.out.println(''The Decimal equivalent =''+decno); } }
compile, javac BinaryDec.com run java BinaryDec 1101
the ans will be 13.
Thanks and stay connected.
|
|
|
|
|
|
SayoMarvel (m)
|
Good of You! I love your program but there are some defects that u have to fix.
(1)The truth is that many people hate simple programs running in command prompt. Atleast a litttle GUI will make it more user friendly. (2)You have to re-execute the program for each binary number that you want to compile.
Solution When next I visit nairaland, i will paste full source code for conversions(binary,hexadecimal,octaldecimal,decimal).
keep cool programmers!!!
peace out.
|
|
|
|
|
|