60 487
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #17713 in C++ for korde

Question #17713
Create a project workspace and a new .cpp call license. GRCC Driving School has asked you to design a program that grades the written portion of the driver's license exam. The eam hase 10 multiple choice quesitons. Here are the correct answers:
A
C
D
A
B
D
A
A
C
B
Your program should store these correct answers in a character array and allow the user of the program to enter student's answers such as:
char answers[10][2] = {"A", "C", "D", "A", "B", "D", "A", "A", "C", "B"}; //this array stores the correct answers
char student_answers[10][2] = {" "}; // this array is for the student answers
The comparison can then be made within a loop (a must) in order to determine many they got correct. Those scoring 7 or better pass, otherwise they fail. Display the number of correct and wrong; and also whether they passed or fail.
Other features should include the following:
Use loops, switches, and if-elses where appropriate.
Run the program multiple times.
Must use ARRAYS!
Don't forget Range checking, if appropriate.
CLS
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions