Use studentGrades.txt provided to populate 2 arrays one with the student & the other with their grade
Make the following methods:
loadData - Receives the file name and 2 empty arrays and populates the student and grade arrays
findHighest - Finds the highest grade amongst the students and returns the student's name
findAbove - Finds all of the students who have above a received grade, and returns an array of their names
findBelow - Same as findAbove but for below the received grade
calcAverage - Calculates and returns the average grade of the received array
You can any additional methods to make this lab easier. Just make sure you have the 5 listed above included.
In your main method:
Print the entire list of students
Print the student with the Highest Grade
Print the students with a grade above 80
Print the students with a grade below 80
Print the average grade of all the students