Question: C++ Code: A local baseball league has asked you to write a program for tracking scores for 4 teams. Each team played 5 games. Write

C++ Code: A local baseball league has asked you to write a program for tracking scores for 4 teams. Each team played 5 games. Write a program that asks the league official to enter the 5 scores for each team. Your program has to use arrays. You can use 4, 1-dimensional arrays, one array per team or you could use 1, 2-dimensional array where each column holds a teams scores. The program should determine which team had the highest sum total of scores. The output of the program should display all scores for each team and the team # that has the highest total sum of scores.

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!