Put a comment at the top of your .java file(s) with your name, section (MW orTTH) and assignment number. When complete, email the file(s) as attachments to pegramitp120@gmail.com.
In the sport of diviing, seven judges award a score between 0 and 10 inclusive, where each score may be a floating-point value. The highest and lowest scores are thrown out and the remaining scores are added together. The sum is then multiplied by the degree of difficulty for that dive. The degree of difficulty ranges from 1.2 to 3.8 points. The toal is then multiplied by 0.6 to determine the diver's score.
Write a Java computer program that inputs a degree of difficulty and seven judges' scores and outputs the overall score for the dive. The program should ensure that all inputs are within the allowable data ranges.
You are welcome to use the SelectionSort class in your program. If you do so, please keep this as a separate class rather than copying the code into your program. If you utilize the SelectionSort class in your program, you need not send it as an attachment since I will already have it.
Revised: April 25, 2008