Question: Java Attached Files: In a diving competition, each contestant's score is calculated by dropping the lowest and highest scores and then adding the remaining scores.

Java

Attached Files:

In a diving competition, each contestant's score is calculated by dropping the lowest and highest scores and then adding the remaining scores. Write a program that reads the provided data file formatted as depicted in the following table. For each diver output the diver's name and total score using the above scoring rules. Format each diver's total score to two decimal places. So for example, the output for Chen Ruolin below would be: Chen Ruolin 56.90 points.

Java Attached Files: In a diving competition, each contestant's score is calculated

Your program must read the data in from the provided data file and use arrays to store that data. Once all the data has been read in the program needs to calculate each diver's total points and output that diver's name and total points. Where total points is calculated based on the scoring rule defined above.

**** I can not figure out how to attach a file so I copied it below***

by dropping the lowest and highest scores and then adding the remaining

Chen Ruolin Emilie Heymans Wang Xin Paola Espinosa Tatiana Ortiz Melissa Wu Marie-Eve Marleau Tonia Couch Laura Wilkinson Score 1 9.2 9.2 9.2 9.2 Score 2 9.2 Score 3 Score 4 9.9 9.9 9.9 9.9 Score 5 9.5 9.5 9.2 Score 6 9.5 9.6 Score 7 9.6 9.3 Score 8 9.8 9.6 9.8 9.8 9.8 9.8 9.8 9.6 9.2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!