Write a program that does the following. Implement a separate method for each of the steps:
- Read in the names and scores of students.
- Compute and display the highest score. *
- Compute and display the lowest score.
- Compute and display the average score.
- Print the names of all the students with the highest score. *
- Print the names of all the students with the lowest score.
The program will contain 3 classes:
- Student
- StudentGrades
- StudentGradeAnalyzer
The program uses an ArrayList of Student.
Student
-name: String
-grade: int
-Student()
other methods as needed
StudentGrades
-allStudents: ArrayList
+StudentGrades()
other methods as needed
StudentGradeAnalyzer
-studentList: StudentGrades
+main(String[]):void
You must include javadoc comments.
The UML class diagrams above must be modified based on your design and submitted with your project.
Include an algorithm for steps 2 and 5 in the methods that contain the code.