[SOLVED] Program that computes a diver’s score

15.00 $

Categories: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon debug_lab7.zip (1 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)
A program that computes a diver’s score based on the degree of difficulty and 5 judge’s scores. In diving, the low and the high score are dropped. The middle three scores are added and then multiplied by the degree of difficulty. Unfortunately, this program doesn’t work. There are three logical errors in it.

Correct Output (Inputs in Bold)

Please enter the degree of difficulty: 2.3

Please enter the score from Judge #1: 6.0
Please enter the score from Judge #2: 5.5
Please enter the score from Judge #3: 6.5
Please enter the score from Judge #4: 7.0
Please enter the score from Judge #5: 6.0
The score for the dive is: 42.55

  • debug_lab7.zip