Question: For C++ -- THANK YOU! : Class CSI2017 has three private member variables: string name, int score, and char grade. Class CSI2017 has a public
For C++ -- THANK YOU! :
Class CSI2017 has three private member variables: string name, int score, and char grade. Class CSI2017 has a public constructor that accepts arguments for name and score, and sets their values.
Class CSI2017 has three public functions:
getName(): returns name of student
getGrade(): returns grade of student (A, B, C, D, F system)
getScore(): returns score of student.
Create and array of 5 elements that are objects of the class CSI2017. Sort array ascending by score. Display the sorted array with the name and the grade of each student.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
