Problem 3: Write a program that can be used as a math tutor for elementary school students. • Display a menu to choose addition, subtraction, multiplication, or division. • Generate two random numbers in the range of 1 to 12. • For the subtraction problem, make sure the answer is positive (the larger number comes first). • For the division problem, we only want integer answers. So multiply the two numbers to create the first number. For example, if the numbers generated were 4 and 5, instead of making the problem as: 4 / 5 (which has a decimal answer), multiply the numbers and use that as the first number, so the problem would be 20 / 5 (which has an integer answer). • The program should loop as long as the user wants to continue. Use an input of 'q' or 'Q' to quit.
+1
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Problem 3: Write a program that can be used as a math tutor for elementary school students. • Display a menu to choose addition, ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Problem 3: Write a program that can be used as a math tutor for elementary school students. • Display a menu to choose addition, subtraction, multiplication, or division. • Generate two random numbers in the range of 1 to 12.