Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

***Please help*** I have tried and tried to write this program, but it will not

ID: 3528694 • Letter: #

Question

***Please help*** I have tried and tried to write this program, but it will not read the .txt files. One of your professors has asked you to write a program to grade her final exams, which consist only 20 multiple-choice questions. Each question has one of four possible answers: A, B, C, or D. The file "CorrectAnswers.txt" which is written below, contains the correct answers for all of the questions, each answer written on a separate line. The first line contains the answers to the first question, the second line contains the answer to the second question, and so forth. Write a program that reads the contents of the "correctAnsers.txt" file into a one-dimensional char array, and then reads the contents of another file, containing a student's answers, into a second char array. the file "StudentAnswers.txt" is writen below. The program should determine the number of questions that the student missed, and then display the following: *A list of the questions missed by the student, showing the correct answer and the incorrect answer provided by the student for each missed question. *The total number of questions missed. *The percentage of questions answered correctly. (correctly answered questions / total number of questions) *If the percentage of correctly answered question is 70% or greater, the program should indicate that the student passed the exam. Otherwise, it should indicate that the student failed the exam. "CorrectAnsers.txt" A D B C A A D B D C A D B A C C D B C A "StudentAnsers.txt" A D B D A A D B D C A A B A C C C B C A

Explanation / Answer

//please rate


https://www.dropbox.com/s/hwr02rae3pmxzb9/TestGradingFunctionsNoClassCpp.txt