Write a basketball program in c++ such that it implements a two-dimensional array for 5 players whose score is entered into the array. In the game of basketball, there are 5 players on a team, and each team plays a game consisting of four 12 minute quarters. Write a C++ program that assigns randomly the points scored for each player in each quarter and then displays them. Therefore, you will need to declare an array which stores the points scored per player per quarter or a total of 4X5 = 20 array elements. Once the points are displayed for each player per quarter, Have the program display the following: -Which players scored the most points in every particular quarter out of all quarters played -Which player scored the most points in any particular quarter out of all quarters played -Which player scored the most points in the entire game - List the best quarter that each player had in the entire game Please make the program display the tables for the questions asked there is a picture of how it needs to be displayed.
Write a basketball
In the game of basketball, there are 5 players on a team, and each team plays a game consisting of four 12 minute quarters. Write a C++ program that assigns randomly the points scored for each player in each quarter and then displays them. Therefore, you will need to declare an array which stores the points scored per player per quarter or a total of 4X5 = 20 array elements. Once the points are displayed for each player per quarter, Have the program display the following:
-Which players scored the most points in every particular quarter out of all quarters played
-Which player scored the most points in any particular quarter out of all quarters played
-Which player scored the most points in the entire game
- List the best quarter that each player had in the entire game
Please make the program display the tables for the questions asked
there is a picture of how it needs to be displayed.
Thank you.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images