Question: Create a C++ program to keep track of the statistics for a kids soccer team. The program will have a structure that defines what data

Create a C++ program to keep track of the statistics for a kids soccer team. The program will have a structure that defines what data the program will collect for each of the players.

The structure will keep the following data:

Players Name (string)

Players Jersey Number (integer)

Points scored by Player (integer)

The program will have an array of 12 players (use less for testing and development, use a constant for the size). Each element in the array is a different player on the team.

The program will ask the user to enter information for each player. The program will also display the team information in a table format. After the table, the total points scored by a team will be displayed.

The program will also determine which player scored the most points on the team.

Validation:

Do not accept negative value for players number

Do not accept negative value for players score

Required Methods:

void GetPlayerInfo(Player &);

void ShowPlayerInfo(const Player);

int GetTotalPoints(const Player[ ], int);

void ShowHighest(Player [ ], int);

Provide commenting within the code and a mulit-line /* */ pseudocode at the top of the source code.

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!