Answered You can hire a professional tutor to get the answer.

QUESTION

Create your own scientific calculator that will convert the inputted numbers to the four number representations (Decimal, Binary, Octal, and...

Create your own scientific calculator that will convert the inputted numbers to the four number representations (Decimal, Binary, Octal, and Hexadecimal).

Your program should output the following menu on screen.

MAIN MENU:

Please type the number of your choice:

1 – Binary to Decimal

2 – Decimal to Octal

3 – Octal to Hexadecimal

4 – Hexadecimal to Binary

5 – Quit

The following will appear when one of the choices in the main menu is chosen.

Choice 1:

Enter a binary number: 11000

11000 base 2 = 24 base 10

(goes back to main menu)

Choice 2:

Enter a Decimal number: 24

24 base 10 = 30 base 8

(goes back to main menu)

Choice 3:

Enter an Octal number: 30

30 base 8 = 18 base 16

(goes back to main menu)

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question