Lab Price = $7
Please feel free to send us your queries at: [email protected]
Payment methods
Declare and initialize variables: name, city, judge score, highest score, lowest score, total score
Loop while there are dives to process
• Get diver’s name and city
• Get degree of difficulty
o Loop to validate input
o End Loop
• Loop five times to get judges’ scores
o Loop to Validate input
o End Loop
o Update highest and lowest scores if need be
o Add score to total score
• End Loop
• Calculate the final score (subtract highest and lowest scores from total score, divide by 3, multiply by degree of difficulty)
• Display the diver’s information and final dive score
• Prompt the user if he or she wants to process another dive
• End-Loop