Question: Using C++: 3) Create code using thrce functions (Add, Subtract and Multiply), BLACK (program output) and Red (user input) WELCOME TO THE MATH GAME! 1.
Using C++:


3) Create code using thrce functions (Add, Subtract and Multiply), BLACK (program output) and Red (user input) WELCOME TO THE MATH GAME! 1. Add 2. Subtract 3. Multiply 4. Quit Input: 1 5 + 0 = 5 CORRECT! 1. Add 2. Subtract 3. Multiply 4. Quit Input: 1 7 + 6 = 1 1 WRONG! 1. Add 2. Subtract 3. Multiply 4. Quit Input: 2 8 2 = 5 WRONG! 1. Add 2. Subtract 3. Multiply 4. Quit Input: 2 l - 5 = -4 CORRECT! 1. Add 2. Subtract 3. Multiply 4. Quit Input: 3 2 * 7 = 14 CORRECT! 1. Add 2. Subtract 3. Multiply 4. Quit Input: 3 8 * 6 = 44 WRONG! 1. Add 2. Subtract 3. Multiply 4. Quit Input: 4 GOODBYE! Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
