For this quiz, we were given an input file that contained student names and associated scores. We were to pull the information from that file and: 1) Create a structure of “studentType” that holds the student’s name, score, and letter grade. 2) Find the highest score and list the students who received that score. 3) Output results to a separate file.
My grade: 25 out of 30. When I ran the program, it ran perfectly. When the professor ran the program, the highest score was not displayed. I wasn’t aware that the output would differ. When I asked the professor why we were getting different results he replied, “Thank you for the vote of confidence, but if I know what makes every C++ compiler tick, I would not be teaching at a community college, I would be teaching at Harvard, MIT or some other Elite university”
*shrugs* 25 out of 30 it is then. I will be testing my programs on a second computer from now on.
Quiz 3
https://github.com/Velourious/quiz_3
(Click “main.cpp” to see program. Click “Out.txt” to see output file.)