Question: A simple course management system models a student s information with a name and a set of test scores. This system should be able to
A simple course management system models a students information with a name and a set of test scores. This system should be able to create a student object with a given name and a number of scores, all of which will be at startup.
The system should be able to access or replace a score at the given position counting from :
obtain the number of scores getNumberOfScores
obtain the highest score getHighScore
obtain the average score getAverage
obtain the students name getName
In addition, the student object when printed should show the students name and scores as in the following example:
Name: Ken Lambert
Score :
Score :
Score :
High score:
Average:
Define a Student class that supports these features and behavior. A main has been provided for you in order to test the implementation of your Student class.
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
