Question: Please write in java. Thanks Program 5.51 Using a loop (or loops) and your knowledge of Java based on what we have covered thus far
Please write in java. Thanks
Program 5.51 Using a loop (or loops) and your knowledge of Java based on what we have covered thus far in the semester, create a Java class that converts a decimal number into either binary, octal, or hexadecimal based upon a user's selection The program should prompt the user for the decimal number to convert and the base to which it is to be converted. An example of output from the program might be as follows: Please enter the base to covert to (B)inary, (O) ctal, or (H)ex o Please enter the decimal number to covert 65536 The octal number is 200000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
