Question: When competing in a diving competition, the judges will take the highest and the lowest scores and remove them. They will then calculate the average
When competing in a diving competition, the judges will take the highest and the lowest scores and remove them. They will then calculate the average of the remaining scores. Then for the final score they take the average and multiply it by the difficulty. There are 7 judges. Using an Array called judgeScores to hold the scores of the seven judges. You must also have a method that will search judgeScores for the lowest score and return it. You must also have a method that will search judgeScores for the largest score and return it. A maximum score is 10 and the maximum level of difficulty is 5. Example: Score 1:9 Score 2: 7.5 Score 3:3 I Score 4:6 Score 5: 9 Score 6: 8 Score 7:9.5 Difficulty: 3.4 Final Score is: 27.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
