Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Someone help me do this public void summarizeResults (). //This is where you use the array of Student objects you created, and you // loop

image text in transcribedSomeone help me do this

public void summarizeResults (). //This is where you use the array of Student objects you created, and you // loop through it, finding the student with the highest gpa, the lowest gpa, and then //accumulate all the gpas, so that at the end of the 1 d of the loop, you can calculate the average gpa. // You can optionally put try catch for the arrayOutOfBounds error. //By now, the data in the array should be valid, since any errors were caught in the processFile method //You should have skipped the bad data recs. //If you skipped a bad data record, you could have an array with empty elements. Thus, //you could have exceptions if you don't first check that the element is not equal to nulls. public void summarizeResults (). //This is where you use the array of Student objects you created, and you // loop through it, finding the student with the highest gpa, the lowest gpa, and then //accumulate all the gpas, so that at the end of the 1 d of the loop, you can calculate the average gpa. // You can optionally put try catch for the arrayOutOfBounds error. //By now, the data in the array should be valid, since any errors were caught in the processFile method //You should have skipped the bad data recs. //If you skipped a bad data record, you could have an array with empty elements. Thus, //you could have exceptions if you don't first check that the element is not equal to nulls

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

Advances In Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

More Books

Students also viewed these Databases questions

Question

3 . 2 9 text message abbreviation decoder c + +

Answered: 1 week ago

Question

Draft a proposal for a risk assessment exercise.

Answered: 1 week ago