subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 23.06.2019 01:20
Write a function balancechemical to balance chemical reactions by solving a linear set of equations. the inputs arguments are: reagents: symbols of reagents in string row array products: symbols of products in string row array elements: elements in the reaction in string row array elcmpreag: elemental composition of reactants in two dimensional numeric array elcmpprdcts: elemental composition of prducts in two dimensional numeric array hint: the first part of the problem is setting up the set of linear equations that should be solve. the second part of the problem is to find the integers from the solution. one way to do this is to mulitiply the rational basis for the nullspace by increasing larger integers until both the left-and right-side integers exist. for example, for the reaction that involves reacting with to produce and : reagents=["ch4", "o2"]; products =["co2", "h2o"]; elements =["c","h", "o"] elcmpreag=[1,4,0;
Answers: 3
question
Computers and Technology, 23.06.2019 08:30
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
You know the right answer?
: Write a program that can be used as a math tutor for elementary school students. • Display a menu...
Questions
question
English, 02.12.2020 14:30
question
English, 02.12.2020 14:30
question
History, 02.12.2020 14:30
question
Mathematics, 02.12.2020 14:40
question
Biology, 02.12.2020 14:40
Questions on the website: 13722361