Question: 2. Write a complete program to analyse game score from a list of players. The program must consist of 2 dimensional array named player to

 2. Write a complete program to analyse game score from a

2. Write a complete program to analyse game score from a list of players. The program must consist of 2 dimensional array named player to store maximum of 10 player names and 1 dimensional array to store game score of each corresponding player. Both arrays must be initialized to 0 during declaration. Then, determine the followings: i) Highest Score and name of the player ii) Lowest Score and name of the player iii) Number of player iv) Average score v) Suppose that player with score greater or equal to 1000 will receive Bonus Reward, display list of names and the game score that will be given bonus reward vi) Find number of player in (v) The sample output of the program should be as follows: Enter Player Nickname : Violet Enter Game Score : 1230 Add another player? (Y-yes, N-no): Y Enter Player Nickname : Thunderstorm Enter Game Score : 2330 Add another player? (Y-yes, N-no): Y Enter Player Nickname: King Cobra Enter Game Score : 1998 Add another player? (Y-yes, N-no): Y Enter Player Nickname : Zelda Enter Game Score : 998 Add another player? (Y-yes, N-no): Y Enter Player Nickname : Destroyer Enter Game Score : 678 Add another player? (Y-yes, N-no): N Result Score: 2330 Score : 678 Highest Score Player : Thunderstorm Lowest Score Player Destroyer Number of Player : 5 Average Score : 1446.80 List of Player With Bonus Reward Violet 1230 ThunderStorm 2330 KingCobra 1998 Total : 3 players

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!