Computers and Technology

: 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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, ed72018373
Which law requires employers to provide safe working environments for their employees? a. civil rights act b. fair labor standards act c. occupational safety and health act d. wagner act
Answers: 1
image
Computers and Technology, 22.06.2019 12:40, Courtneymorris19
The most complicated four letter word
Answers: 1
image
Computers and Technology, 22.06.2019 17:30, kameronstebbins
Which tab should you open to find the option for adding a header?
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, daniella0123
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings starting from index 0. for each match, add one point to userscore. upon a mismatch, exit the loop using a break statement. assume simonpattern and userpattern are always the same length. ex: the following patterns yield a userscore of 4: simonpattern: rrgbryybgy userpattern: rrgbbrybgy
Answers: 2
Do you know the correct answer?
: Write a program that can be used as a math tutor for elementary school students. β€’ Display a menu...

Questions in other subjects:

Konu
Mathematics, 29.04.2021 09:10