Question: Write a C++ program that shows the menu below. User can select an item by inserting an integer. The program should show the menu again
Write a C++ program that shows the menu below. User can select an item by inserting an integer. The program should show the menu again after each iteration and it should exit only if user selects item number 6. * The computer system for this assignment is an eight-bit cell. Menu: 1- Convert an unsigned binary number to a decimal 2- Convert a positive decimal number to unsigned binary 3- Convert a signed binary number in sign-bit representation to decimal 4- Convert a decimal number to a binary number in sign-bit representation 5- Convert a decimal number to binary number in twos complement representation 6- Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
