The Task

The problem is to read student names and marks from a file, grade them and display the details (names and grades) on screen together with the highest score.


Setup a class to store a student. The data is to include a first name, last name, testscore (whole number) and a grade (A..F). The class should include functions to read a student name and score from a file, to determine the grade from the score and to display that students details on screen. You may require other functions, that is for you to decide. The main program should contain an array of student objects which are used in conjunction with the file to load all students results. See the file students.dat . Your program should handle up to 20 students results.

In this exercise it is expected you will require at least two non-class functions to calculate the highest score and to display all the results. The grades are to be awarded as follows: 90 and over A, 80-89 B, 70-79 C, 60-69 D, less than 60 F.

Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.