Write program that manages a list of team records


Problem

Write program that manages a list of team records. A team's record contains, player name, team name (country), number of goals scored and number of games played in the FIFA world cup. Use an STL array (or vector) to manage the list.

You should create class FIFA_Record to store all the components of a record as mentioned above.

Your program should support the following features:

1. Add a new player and score (up to 10 players).

2. Print all players and their score (goals) to the screen

3. Allow the user to enter a player name and output that player's score or a message if the player's name has not been entered

4. Allow the user to enter a player name and remove the player from the list Create menu system that allows the user to select which option to invoke.

5. Allow the user to enter a team's name and display the average scores of each player. You can calculate the average score by dividing number of goals scored by number of games played.

Extend the Problem by introducing multiple threads. Create 02 threads in your program. Assign first thread the task to insert new players and for second thread, create new method findMaxMinScores. The findMaxMinScores should always display player names and scores against minimum and maximum scores.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write program that manages a list of team records
Reference No:- TGS03275838

Expected delivery within 24 Hours