Help me out, my professor gave us this problem, I can't figure it out. And I also do not have a C++ program in my PC because it's too low-tech and no internet. Thanks in advance.
A university gives an entrance exam to new students before allowing them to enroll in their preferred programs. Write a program that will check the score of the student’s entrance exam. The exam has 25 multiple choice questions and here are the correct answers:
1. D 2. C 3. D 4. D 5. A
6. B 7. C 8. A 9. B 10. B
11. C 12. D 13. A 14. B 15. C
16. D 17. D 18. A 19. B 20. A
21. A 22. B 23. D 24. A 25. C
You should have an array that contains the correct answers. Part of the program will accept the student’s answer for each of the 25 questions that will also be stored in an array. After the student’s answers have been entered, the program will display a message if the student passed or failed the exam with the corresponding score. It is required that the student should get 15 correct answers out of the 25 questions. Finally, display the total number of questions correctly answered and the total number of questions incorrectly answered.