c++
The local Driver’s License office has asked you to write a program that grades the written portion of the driver’s license exams. The exam has 10 multiple choice questions. Here are the correct answers. 1. A 2. D 3. B 4. B 5. C 6. B 7. A 8. B 9. C 10. D Your program should store the correct answers above in an array. It should ask the user to enter the student’s answers for each of the 10 questions, and the answers should be stored in another array. After the student’s answers have been entered, the program should display a message indicating whether the student passed or failed the exam. (A student must answer 8 of the 10 questions to pass the exam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the question numbers of the incorrectly answered questions. Input Validation: Only accept the letters A, B, C, or D as answers.
9 years ago 20
Purchase the answer to view it
- grade.cpp
- HELP I HAVE NO POWER DUE TO STORM! 600words
- See Description
- BSBWHS605 Develop, implement and maintain WHS management systems
- paper 1
- how college purposes affect you Moral, commercial, and cognitive? talk about yourself how its applied to you.
- Information system project- part 2- Strengthening Web Presence
- help : need it done fast
- 30
- marketing paper
- Mission Vision You