+1(316)4441378

+44-141-628-6690

Archive for the ‘C++ Computer Science’ Category

Grade Evaluator Program

Develop a c++ program with a Student class. A Student class contains private attributes of firstname, lastname, and scores. Student also has private method calculateGrade which calculates grade for a given score; public methods printInfo() which prints information about the Student, and getAverageGrade() which returns the grade for the average score of the student.
The grade of a score is calculated based on the grading scheme shown below:
(attached image)

(1) Create a students.csv file containing at least 10 student's information of the form

firstname,lastname,score1 ,score2 ,score3

- score1 is the score the student had in a course, etc

(2) Your program should read students.csv using CSVReader and then store the information read into a vector of Student

(3) Your program should print the information for each student as displayed in the enclosed program. Other than the first line of the output, your program should produce exactly the same outpu