67 185
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #4605 in Java | JSP | JSF for Bob

Question #4605
I have to write a java program that basically convert decimal to binary and print it out using array. I have a function to reads in an input from the users and I'm not sure how to take that input and have it store in my function I have to convert it to binary. Below is a a snippet of my program with 120 being hard coded into the program just for testing purposes, but I don't know how to get .convert to take the argument of what the user inputs from the keyboard. need any more info please let me know.

DecToBinArray arr = new DecToBinArray();
arr.convert(120);
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions