Dr. Zabinski
Write a program to present its user with a trivia quiz. The program is to include the following features:
- Two multiple choice questions.
- Each question is to have 3 choices – A, B, & C.
- Each question appears on the screen as follows:
This is question number ______.
The actual question follows.
Then the multiple choices.
The user then responds.
- If the answer is correct the computer responds accordingly; otherwise the computer responds: NO, the correct answer is_____.
- The computer keeps track of the number of correct answers. At the end of the quiz the computer displays a final message such as:
John, you answered _____ questions correctly.
Do you want to take the quiz again (Y/N)?___
- Be sure the dialog on the screen is spaced well. i.e. reads well.
- At the beginning of the quiz include a "friendly" dialog such as:
Hi, What is your name?___________
Hi John I have a trivia quiz for you.
Press any key when you are ready to start.
- Be sure to include the REM and CLS statements and place them properly in the program.