I'm designing a multiple-choice question grading program using functions and 1-dimension arrays. I input: the key to the questions, the number of students taking the exam, the student's answers, followed by the student's names. Then output--the student's name; followed by the number of correct answers; followed by PASS if the number correct is 60% or better or FAIL otherwise.
Now, I can't figure out how I would make the 'key' check the student's answers..and also bout the names, would I have to use file input/output just to store the different names in a text file? if so, how would I do that exactly?