Question: Write a C++ program that stores the following data about a soccer player in a structure : Players Name Players Number Points scored by the
Write a C++ program that stores the following data about a soccer player in a structure :
Players Name Players Number Points scored by the Player.
The program should keep an array of 11 of these structures. Each element is for a different player on team. The program must consist of the following functions :
1) The first function shows a table that lists each players number, players name, and points scored.
2) The second function must calculate and return the total points earned by the team.
3) The third must return and the name and the number of the player who has earned the most scored points.
4) The last function must sort the stored data in descending order based on pointes scored. Then the function must display sorted records.



Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
