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, 21.06.2019 13:20
Raymond ozzie, the software designer who was critical in the development of lotus notes, was able to dictate the terms under which ibm acquired lotus. this illustrates that he had bargaining power based on the cost required by the firm to replace him.
Answers: 3
question
Computers and Technology, 22.06.2019 18:00
What is the first view you place in your drawing?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
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, 06.04.2021 22:50
question
Mathematics, 06.04.2021 22:50
question
Mathematics, 06.04.2021 22:50
Questions on the website: 13722367