Answered You can hire a professional tutor to get the answer.

QUESTION

Write a C++ program that is menu_driven that allows for the following menu choices: Load an exam: Loading an exam should prompt the user for an exam...

Need help with this assingment

Details:

Write a C++ program that is menu_driven that allows for the following menu choices:

  1. Load an exam: Loading an exam should prompt the user for an exam file. If no file exists, it should allow the user to specify a different file. Upon a successful load of an exam, the user should be presented with the menu again.
  2. Display exam: The program should simply display each question, its point value, and the answer to the screen. (The functionality of actually taking the exam will be created in Week 5). Upon displaying the exam to the screen, the user should be presented with the menu again.
  3. Quit: Quit the program gracefully by displaying a "thank you" message to the user, and ensure that all files have been closed along with any other housekeeping that should be done as your program shuts down.

Consider creating a class exam that will hold the actual exam and provide behavior such as loadExam and also displayExam. 

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question