Write a C program (not C++) in codeblocks that can be used as a math tutor for a
ID: 3529505 • Letter: W
Question
Write a C program (not C++) in codeblocks that can be used as a math tutor for a young student. The program should display following menu: 1. Add 2. Subtract 3. Multiply Enter Your Choice (1-3): The program should generate 2 random numbers bewteen 0 and 99 and display them as a 'problem' along with the operation chosen by the user. The program should the read the user's answer and print a message of congratulations if correct. If answer is incorrect, a message displaying the correct answer should be displayed. You must use a switch statement somewhere in the program. Use separate functions to: 1. Print the menu and read the user's choice. 2. Display the Problem. 3. Read the user's answer. 4. Get the computer's answer. 5. Display the result. (START LIKE THIS) #include #include #includeExplanation / Answer
//modified version of my old progam http://ideone.com/ERIAmV
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.