Question
Excess M Converter Instructions: Write a complete C++ program that fulfills the following requirements: 1. Allow the user to input a number of bits to
Excess M Converter Instructions: Write a complete C++ program that fulfills the following requirements: 1. Allow the user to input a number of bits to represent a base 10 integer (in the Excess M system).
2. Input the base 10 integer. Use a loop that will continue to input numbers until the user inputs an integer that is in range (based on the number of bits).
3. Compute and output the equivalent Excess M binary number to the console screen.
4. Continue to run the program until the user decides that he wants to quit. The user should be allowed to make an indefinite number of conversions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started