|
For this program you will need to design a Student class. The class should conform to the specifications as follows. Student Objects of this class are used to model students. Each Student object should be characterized by • a last name (up to, but not exceeding 15 characters) • six grades • the weights for each grade • a student ID number • a calculated score • a letter grade You can choose to store the calculated score and the letter grade in data members or, preferably, simply use a function to calculate and retrieve the values on an as needed basis. Student objects should also include • a member function to read/input values interactively (i.e., assign values to the data members) • a member function to display/output values (i.e., retrieve values from the data members)
90 <= grade, A 80 <= grade < 90, B 70 <= grade < 80, C 60 <= grade < 70, D 00 <= grade < 60, F
|