Question: Using visual studio 2022 C++ Design a program that simulates a team roster of 5 players and calculates the average number of goals made by

Using visual studio 2022 C++
Using visual studio 2022 C++ Design a program that simulates a team

Design a program that simulates a team roster of 5 players and calculates the average number of goals made by each player during the final 3 matches. You will need to create a 2D array to hold the players names. Your program will ask the user to enter each name using the keyboard and will store the information in the 2D array. You will need to create a 2D array to hold the players scores for the final 3 games. After storing the players names you will use a nested for loop to gather the number of goals made by each player for each of the three games. Finally your program should print out the team roster and list the average goals made by each team member

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!