Question: Write a program that calculates the average of a group of five test scores, where the lowest score in the group is dropped. It should
Write a program that calculates the average of a group of five test scores, where the lowest score in the group is dropped. It should use the following instructions. 3. void getScore () should ask the user for a test score, store it in a reference parameter variable, and verify that it is between 0 and 100. This method should be called by main once for each of the five scores to be entered. . void calcAverage() should calculate and display the average of the four highest scores. This method should be called just once by main and should be passed the five scores int findLowest ( ) should find and return the lowest of the five scores passed to it. It should be called by calcAverage, which uses the method to determine which of the five scores to drop before calculating the actual average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
