subject

1. using arrays: driver's license exam grader system the local drivers license office has asked you to write a program that grades the written portion of the drivers license exam. the exam has 10 multiple choice questions. here, are the correct answers: 1. b 6. a2. d 7. b3. a 8. a4. a 9. c5. c 10. dyour program should store the correct answers shown above in a character array named "correctanswers" (in this assignment you are not doing any string manipulation, so the "answer" array can be a simple character array, not a string).then, it should ask the user to enter the student's answers for each of the 10 questions, and the answers should be stored in another array named "studentanswers"in order to pass the exam a student must answer at least 8 questions out of 10. so, the "grade" function checks the entries in both array and determine if the student has answered at least 8 questions correctly. if student has passed the exam, your program should display the following messagecongratulations! you have passed exam. total number of correct answers: < > total number of incorrect answers: < > if student has failed the exam, your program should display the following messagesorry, you have not passed the exam! total number of correct answers: < > total number of incorrect answers: < > input validation: only accept the letters a, b, c, or d as answers. if user enters any other letter, your program should display a message indicating a, b, c, and d are the only valid inputs. if user enters invalid input more than three times display the message "good bye" and exit the program.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Selling a product through an electronic medium is
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
You know the right answer?
1. using arrays: driver's license exam grader system the local drivers license office has asked you...
Questions
question
Mathematics, 26.05.2021 22:10
Questions on the website: 13722367