write a program in diving competitions, each jump is assessed by seven judges who give points on a scale from 0 to 10. The point for each jump are calculated as follows: Ignore the highest and lowest scores given by the judges. Then calculate the average of the remaining five scores. The points for the jump are then calculated by multiplying the average obtained by 3 and then by a figure corresponding to the level of difficulty of the jump. Write a program that first inputs the level of difficulty of the jump, and then the scores given by the seven judges. The program should calculate and display the points for the jump
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.