Question: Java - recursive recursively converts a decimal number to your choice of other bases. Give them a choice of binary, octal, decimal, or hexadecimal. Your

Java - recursive recursively converts a decimal number to your choice of other bases. Give them a choice of binary, octal, decimal, or hexadecimal. Your program should be able to convert a number from any one of those four bases to the desired one.

wanted with this menu and some of the sample output below

1. binary to base 2. octal to base 3. decimal to base 4. hexadecimal to base 5. exit

make a selection: 4

Enter any hexadecimal number: FF

Enter the base you wish to go to 10

FF hexadecimal converted to base 10 is 255

Make a selection: 2 Enter any octal number:54365 Enter the base you wish to go to 16 54365 octal converted to base 16 is 58F5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!