Question: Multiplication Exercise for young Students Modify program 04 such that it should display two random numbers to be multiplied, pause while the student works on
Multiplication Exercise for young Students Modify program 04 such that it should display two random numbers to be multiplied, pause while the student works on the problem. When the student is ready to check the answer, he or she can enter the answer and press the enter key and the program will display the correct solution A message need to be displayed to let them know if that answer is correct or not. Note: In order to get the two random numbers multiplied between 1 and 12 you can use MIN number as 1 and MAX as 12 (declare both as constants). Then generate the two random numbers to be multiplied using MIN and MAX as follows ran Num- (rand()% (MAX VAL. MIN VAL + 1)) - MIN VAL Expected outputs: Microsoft Visual Studio Debug Console Check your multiplication Facts. 12 x 12 - Please enter your answer for 112 x 12 - 142 Press enter to check your answer. 12 x 12 - 144 Sorry, that is incorrect. Microsoft Visual Studio Debug Console *Check your multiplication Facts**. 6 x 5 Please enter your answer for 65 - 30 Press enter to check your answer 6 x 5 - 30 Great job! Correct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
