i am new in java programming, can someone help me create the code for it.thanks.
Nathan_11 0 Newbie Poster
Recommended Answers
Jump to PostHave you looked up the algorithm for converting a binary number to a decimal number?
You need that before you can write the program.
Jump to PostAssuming that you read the input: 11100000 as a String. You will create an int array with size the length of the input. Check the API of the String class. There are methods that return its length as well as each character of the String (charAt(index))
Loop the input, take …
All 5 Replies
NormR1 563 Posting Sage Team Colleague
Nathan_11 0 Newbie Poster
NormR1 563 Posting Sage Team Colleague
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
JeffGrigg 170 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.