Question
Must be written in C#. The use of computers in education is referred to as computer-assisted instruction. Write a console program Multiply that help an
Must be written in C#.
The use of computers in education is referred to as computer-assisted instruction. Write a console program Multiply that help an elementary-school student learn multiplication. Use a Random object to produce two positive one-digit integers. The program should then prompt the user with a question, such as How much is 6 times 7? The student then inputs the answer. Next, the program checks the students answer; create a separate static method CheckResponse(int guess) which returns nothing. If its correct, display the message Very good! and ask another multiplication question. If the answer is wrong, display the message No, Please try again. And let the student try the same question repeatedly until the student gets it right. A separate static method CreateQuestion() which returns nothing should be used to generate each new question. This method should be called once when the app begins execution and each time the user answers the question correctly. Expected Output:
How much is 3 times 8? Enter your answer (-1 to exit): 24 Very Good! How much is 9 times 4? Enter your answer (-1 to exit): 30 No. Please try again. Enter your answer (-1 to exit): 36 Very Good! How much is 1 times ?? Enter your answer (-1 to exit): Very Good! How much is O times 5? Enter your answer (-1 to exit)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started