Question: Create the Student Class: Include private members for storing the student's name and grades.Implement public methods for: Inputting grades.Calculating the average grade.Determining the letter grade.
Create the Student Class:
Include private members for storing the student's name and grades.Implement public methods for:
Inputting grades.Calculating the average grade.Determining the letter grade.
Implement the Main Program:
Create a menu system using a switch statement that allows users to perform tasks like inputting grades, displaying the average, and checking the letter grade.Implement exception handling to ensure only valid grades are accepted.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
