Ask Question

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.

+2
Answers (1)
  1. 9 May, 18:01
    0
    Answer:when you work hard you can acomplish anything you want
Know the Answer?
Not Sure About the Answer?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers