Question: Write a C++ program to run a menu-driven program with the following choices: 1) Display the scores 2) Change a score 3) Display player with

Write a C++ program to run a menu-driven program with the following choices:

1) Display the scores 2) Change a score 3) Display player with the lowest score 4) Display average score of all players 5) Display a sorted list of the scores 6) Quit

Sample run:

Welcome to the help with the golf tournament program! 1) Display the scores 2) Change a score 3) Display player with the lowest score 4) Display average score of all players 5) Display a sorted list of the scores 6) Quit Select an option (1..6)..1 Display scores Player 1 Player 2 Player 3 118 98 68 1) Display the scores 2) Change a score 3) Display player with the lowest score 4) Display average score of all players 5) Display a sorted list of the scores 6) Quit Select an option (1..6)..3 The player with the lowest score is 3 1) Display the scores 2) Change a score 3) Display player with the lowest score 4) Display average score of all players 5) Display a sorted list of the scores 6) Quit Select an option (1..6)..4 Average score is 94.67

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!