In a gymnastics or 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 allows the user to enter eight judges’ scores and then outputs the points received by the contestant. Format your output with two decimal places. A judge awards point between 1 and 10, with 1 being the lowest and 10 being the highest. For example, if the scores are 9.2, 9.3, 9.0, 9.9, 9.5, 9.5, 9.6, and 9.8, the contestant receives a total of 56.90 pointsTake the scores of the judge by using the random () method between the scores of 1-10 in an array.
#Sales Offer!| Get upto 25% Off: