Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image

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 create a student object with a given name and a number of scores, all of which will be 0 at startup. The system should be able to access or replace a score at the given position (counting from 0): obtain the number of scores - getNumberOfScores() obtain the highest score - getHighScore() obtain the average score - getAverage() obtain the student's name - getName() In addition, the student object when printed should show the student's name and scores as in the following example: Name: Ken Lambert Score 1: 88 Score 2: 77 Score 3: 100 High score: 100 Average: 88.333 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Business Ethics

Authors: Peter A. Stanwick, Sarah D. Stanwick

3rd Edition

1506303234, 9781506303239

More Books

Students also viewed these Algorithms questions