Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/computer-assisted-instruction/
- INSTRUCTIONS:
- Use 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?
- Student inputs the answer. Program checks the answer.
- –If correct, display message “very good” and asks another multiplication question.
- –If incorrect, display message “No. Try again”; try the same questions repeatedly until it is right.
- —Call this method once when application begins execution and each time the user answers correctly.
- NEXT:
- Insert three (3) more comments for correct and wrong answers using the SWITCH statement.
- LASTLY:
- Count the number of correct/wrong responses typed by the student. After 10 answers, calculate the percentage
- That are correct and provide a comment. Do the same for the wrong answers THEN reset the program.
- Download: http://solutionzip.com/downloads/computer-assisted-instruction/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement