A+ Work






Q write a C++ program to allow the user to create a test bank of questions. The program should first ask the user how many questions he or she wishes to create. This quantity will be the first line in the test bank. The user should now be prompted for all information for each question, and then that question is written out to the test bank in the exact format specified in the Phase 2 Individual Project. (<- this is the project that you helped me with last time.

Line 1 will be an integer value, indicating how many questions in the file 

Each question will start with a line that starts with either "MC" or "TF" followed by a space and then the point value of the question.

The next line will be the actual question.

If the question was True/False, the following line will be the answer, either "True" or "False"

If the question was multiple choice, the following line will be an integer value indicating how many choices will be provided for that question. The following lines will be the choices. There will never be more than 6 choices. The final line following the choices will be the answer: "A" or "B" or "C" or "D" or "E" or "F".)For each question, the following information should be gathered: Question type: Multiple choice (MC) or True/False (TF)

Question value 

Actual question

If the question is TF, then get answer

If the question is MC, then get the number of options followed by each option and finally the answer. This program should be robust and allow users who make mistakes the ability to correct them (exception handling)