Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a class called StudentGrades. This class should be designed based off the following UML Diagram: class StudentGrades -double list grades_list + +AddGrade(double): void +RemoveGrade(double):

Create a class called StudentGrades. This class should be designed based off the following UML Diagram:

class StudentGrades

-double list grades_list

+

+AddGrade(double): void

+RemoveGrade(double): bool

+GetClassAverage(): double

+GetHighestGrade(): double

+GetLowestGrade(): double

- creates an empty array for the grades_list array.

AddGrade Adds the passed in grade to the list. Note that any number that is NOT 0 100 should be rejected.

RemoveGrade Removes the first occurrence of the passed in grade from the list. If the grade is not found, the method should return false.

GetClassAverage() Average the grades in the list and return the average.

GetHighestGrade - Find and return the highest grade in the list.

GetLowestGrade Find and return the lowest grade in the list.

I need help with this program by manually doing all the methods on a list class and in c# programming

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

Students also viewed these Databases questions

Question

5. Identify the logical fallacies, deceptive forms of reasoning

Answered: 1 week ago

Question

6. Choose an appropriate organizational strategy for your speech

Answered: 1 week ago