subject

In part 1 you will be creating a quiz grading program. you will compare the student's answers with the correct answers, and determine if the student passed the quiz or not. the program will make use of two parallel arrays. each array must be able to support up to 20 characters (so you have two arrays of chars, each one with 20 elements). your program will need to read in the student input file name from cin. it will also need to read in the answer file name from cin. the contents of the student input file should be read into one char array. the file will contain 20 characters, each character on a separate line of the file. the first line in the input file will contain the students answer to the first question, the second line will contain the student's answer to the 2nd question, and so on for 20 questions. the answers are a, b, c or d (all upper case). the answer file will be read in as well, one answer per line for 20 answers. the first line of text is the answer for question 1, then second line is the answer for question 2, and so on. as always, close the input files when you are done with them. your program needs to determine the number of questions that the student missed and then display the following:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
In a compound condition, both conditions on either side of the logical operator and must be true for the overall condition to be true. a: true b: false
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
You know the right answer?
In part 1 you will be creating a quiz grading program. you will compare the student's answers with t...
Questions
question
Spanish, 29.10.2019 08:31
Questions on the website: 13722360