Question: For C++: Programming Challenge 15 of Chapter 3: Math Teacher : Write a program that can be used as a math teacher for a young

For C++:

Programming Challenge 15 of Chapter 3:

Math Teacher :

Write a program that can be used as a math teacher for a young student. The program should display two random numbers to be added, such as 247 +129 The program should then pause while the student works on the problem. When the student is ready to check the answer, he or she can press a key and the program will display the correct solution: 247 +129= 376

Programming Challenge 9 of Chapter 4:

Math Teacher:

This is a modification of Programming Challenge 15 from Chapter 3 . Write a program that can be used as a math teacher for a young student. The program should display two random numbers that are to be added, such as: 247 + 129 The program should wait for the student to enter the answer. If the answer is correct, a message of congratulations should be printed. If the answer is incorrect, a message should be printed showing the correct answer.

This program started in Programming Challenge 15 of Chapter 3, and was modified in Programming Challenge 9 of Chapter 4. Modify the program again so it displays a menu allowing the user to select an addition, subtraction, multiplication, or division problem. The final selection on the menu should let the user quit the program. After the user has finished the math problem, the program should display the menu again. This process is repeated until the user chooses to quit the program. Input Validation: If the user selects an item not on the menu, display an error message and display the menu again. Numbers should be two digits long. Division problems should have even answers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!