Question: Programmed in java The requirements are for you to write a program to quickly calculate gymnastics scores for an international competition. Six judges are judging
The requirements are for you to write a program to quickly calculate gymnastics scores for an international competition. Six judges are judging the competition, numbered 1 through 6 for anonymity. The program should have a loop that performs the following tasks: calls a method asking for the score from a single judge. The method should print the judge number and score and return the judges score adds the returned score to a total score. After the loop is done, your program should call a method that calculates and displays the average score. This means the your final program should contain at least three methods. The main method and the two additional methods described above. Scores are in the range 0 to 10 with one decimal places, such as 8. 5.The program should reject a score entered that is outside of the range. The average should be displayed with two decimal places. Here is a sample of the output: Score for Judge 1: 8.5 Score for Judge 2: 8.7 Score for Judge 3: 8.4 Score for Judge A: 9.1 Score for Judge 5: 8.9 Score for Judge 6: 9.0 The average score is: 8.77
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
