Question: Write a Java program that has the following methods: computeAverage () which takes an array of scores as an argument and returns the average of

Write a Java program that has the following methods: computeAverage () which takes an array of scores as an argument and returns the average of these scores. computeMax () which takes an array of scores as an argument and returns the index of the maximum score. percentageOfSuccess () which takes as an argument an array represents scores of a section and prints the percentage of success of this section. main () method which do the following: read number of students declare and create an array of scores according to number of students fill the array by reading scores from the user print the average, the maximum score, the percentage of success by calling the above methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
