Question: Please do that with java We will implement a scoring technique that is a simplification of the method used for rating divers (as in the

Please do that with java

Please do that with java We will implement a scoring technique that

We will implement a scoring technique that is a simplification of the method used for rating divers (as in the Olympics). We assume that we are judging an event where each performance has a difficulty level associated with it - in our case the difficulty level will be a numeric value between 1 and 5 There will be five judges giving their scores for each performance. Each judge will report a value between 0 and 10. These values need not be integers. The final score is to be obtained by dropping the highest score and the lowest score from those submitted by the judges, averaging the remaining three scores and multiplying that average by the difficulty level. Your java program should ask the user for the difficulty level and the five judges' scores, then computes, and outputs the resulting final score rounded to 2 decimal places. Note: You MUST NOT use four (or five) separate variables for the scores- use a loop 1. 2. You will need a main method, no additional methods are required - but you can write additional methods if that helps you to construct the program. You are NOT required to validate the input-that is, the program does not need to check to make sure that the degree of difficulty is between 1 and 5 or that the judge's scores are between 0 and 10. Your program should display all the good programming practices we have talked about- 3. 4. appropriate comments, prompts, labels, indentation, spacing, and variable names Here is a sample run of the program. What is the degree of difficulty of this performance? 3.6 score for judge #1: 4.2 score for judge #2: 2.75 score for judge #3: 3.8 score for judge #4: 4.5 score for judge #5: 4 The final score is 14.40

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!