Question: This is c++ assignment. Could you do programming exactly same output please? Write a program that can be used as a math tutor for a
Write a program that can be used as a math tutor for a young student. The program should display two random numbers (-999 to 999) that are to be added, subtracted, multiplied or divided. Start by displaying a menu allowing the user to select: addition, subtraction, addition/subtraction, multiplication, division, multiplication/division, and random. The dual selections on the menu should randomly select between the two operations. Random selects among all 4. Your menu will only display once at the start of the program. Instructions should be shown how to quit ("type 'quit to exit the program"). 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. After the user has finished the math problem, the program should display another problem using the original menu choice. This process is repeated until the user chooses to quit the program by entering 'n On exit, the program should display the number of correct answers, the number of questions, and the % correct. Use a separate function for each operation (+,-, ,/) Generate the random numbers in main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
