Question: Module 6 - RUSmarterThanAFifthGrader Instructions Use the random number generator to test the user's mathematical ability. Generate two random numbers (100 should be your seed
| Module 6 - RUSmarterThanAFifthGrader | |
| Instructions | |
| Use the random number generator to test the user's mathematical ability. Generate two random numbers (100 should be your seed for the random numbers). Tell the user: Let's play Are You Smarter Than a 5th Grader!! What is the answer to the following math problem? Display a math problem showing randNum1 X randNum2. Get the user's answer. Check to see if it is correct. If it's correct, tell the user Correct, your are smarter than a 5th grader! Otherwise, tell the user they aren't smarter than a 5th grader and give them the correct answer to the problem. ** After you get that basic part of the program working, add a loop that generates 5 problems, asks for the answer, checks the answer and lets the user know if his/her answer is correct. ** | |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
