Question: In c + + plz Problem 3 - Filename: GameBase Write a program that plays a math game using different bases. The game is simple:
In cplz Problem Filename: GameBase
Write a program that plays a math game using different bases. The game is simple: it has two steps:
convert and repeat. Given a number, convert it to base from the smallest base it could possibly be
read in until it can no longer be converted into a smaller number.
Input from the keyboard a positive integer in the range to simulate the game
with. Assume proper input. Output to the screen first the original number in base ten, and then one per
line each reduction. After the number can no longer be reduced, print it Finally, the program should ask
if the user wants to run the program again Check case Refer to the sample output below.
Sample Run:
Enter integer:
base
base
base
base
Run Again : Y
Enter integer:
base
base
base
base
base
base
Run Again : n
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
