Question: Student ArrayList Write a Java application that does each of the following: For each student Reads from a file the name and a series of
Student ArrayList
Write a Java application that does each of the following:
For each student
Reads from a file the name and a series of labs for each person (students do not all have the same number of labs)
Calculates the average of the labs
Stores the name and average in an array of class Grades.
Prints the information from the array using a for loop
Prints the following information with appropriate documentation:
Class lab average
Name and average of student with highest average
Name and average of student with lowest average
Searches for particular students
Asks the user for a name
If the name is in the array, prints the name and average for that person.
If the name is not in the array, prints a message to the user indicating the name does not exist.
Continues to ask the user for names until the user wants to stop
You must use one, and only one, arrayList for this application.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
