Question
Write a C++ program that will read questions and their answers from a file. Read the questions and answers into an appropriate data structure, then
Write a C++ program that will read questions and their answers from a file. Read the questions and answers into an appropriate data structure, then display the first question and accept an answer from the the user. If the answer is correct, the program should go on to the next question. If it is not correct, store the question in a list. When the question list is exhausted, the questions that were missed should be displayed again (in their original order). Keep a count of the correct answers and display the final count. Record the users name and score and write it out to a file. Also, display the correct answer when necessary in the second round of questioning. Write a "supervisor" program that will allow a supervisor to add new questions, and review student grades. (put classes separated out into separate files, with .h files)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started