I am confused "HOW to make a series of numbers in reverse orDer In java" I got the basic idea but i cannot join them together ...in this program compUtter Will identify weather input is binary or decimal .i am unable to make computer identify numbers in.please help wit Java coding.
meenal9
0
Newbie Poster
Recommended Answers
Jump to PostDaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rulesPost what you have done so far and someone will help you from there.
Jump to PostReverse the order of an array, perhaps?
Please show what you have tried already to identify when a number is received as a binary value or a decimal one. We can then give you refinements of your idea. Read your notes from class and your textbook, if you have one, …
Jump to PostWhy are you using base 10 for your division and moulus operations, but base 2 for your power? You may want to change that 2 if you are not getting the results you expect.
All 9 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Nutster
58
Newbie Poster
meenal9
0
Newbie Poster
Nutster
58
Newbie Poster
meenal9
0
Newbie Poster
Taywin
312
Posting Virtuoso
subramanya.vl
0
Junior Poster in Training
subramanya.vl
0
Junior Poster in Training
meenal9
0
Newbie Poster
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.