毕业论文代写,代写paper,北美CS代写-编程代码,代写金融-第一代写网At a diving competition, the mark given to each diver is awarded as follows.??There are a number of judges and each judge gives a mark and the final mark is found by leaving out the highest mark and the lowest mark and calculating the average of the rest.??Write a C program that reads in the number of judges at the competition and then reads in a mark for each judge.??Perform the necessary calculations and display the highest mark, the lowest
mark and the final mark.??The following data checks must be carried out in the program:
- a)the number of judges must be from 4 to 8
- b)each judge can give a mark from 0.0 to 10.0 (a real number that may include fractions)
If an invalid amount is entered, the program must ask for an acceptable value to be entered instead.