Seven judges award a score between 0 and 10, where each scoremaybe a floating-po
ID: 3609720 • Letter: S
Question
Seven judges award a score between 0 and 10, where each scoremaybe a floating-point value in diving. The highest andlowest scores are thrown out and the remaining scores are addedtogether. The sum is then multiplied by the degree ofdifficulty for that dive. The degree of difficulty rangesfrom 1.2 to 3.8 points. The total is then multuiplied by 0.6 todetermine the diver's score. Write a program that inputs adegree of difficulty and seven judges' scores, and outputs theoverall score for that dive. The program should ensure thatall inputs are within the allowable data ranges. Seven judges award a score between 0 and 10, where each scoremaybe a floating-point value in diving. The highest andlowest scores are thrown out and the remaining scores are addedtogether. The sum is then multiplied by the degree ofdifficulty for that dive. The degree of difficulty rangesfrom 1.2 to 3.8 points. The total is then multuiplied by 0.6 todetermine the diver's score. Write a program that inputs adegree of difficulty and seven judges' scores, and outputs theoverall score for that dive. The program should ensure thatall inputs are within the allowable data ranges.Explanation / Answer
please rate - thanks #include int main() {double score[7],sum,difficulty,min,max; int i; for(i=0;iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.