Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: https://solutionzip.com/downloads/diver-score/
- 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
- Download: https://solutionzip.com/downloads/diver-score/
Add Comment
Please, Sign In to add comment