Question: Write a program that can be used as a math tutor for a young student. The program should do the following: Ask the student what
Write a program that can be used as a math tutor for a young student. The program should do the following:
Ask the student what arithmetic operation they want to perform choose among addition, subtraction, multiplication, or division
Ask the user for two numbers the operands
Ask the student for the answer
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.
Make sure you test for any case you might consider invalid.
You can decide how to prompt the user to input the arithmetic operation.
In this program, use your own imagination to display the output.
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
