3.7 Write a complete C 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...


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

Extracted text: 3.7 Write a complete C 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 Lowest Score and name of the player (ii) (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 : 1230 Enter Game Score 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 : KingCobra : 1998 Enter Game Score 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 Highest Score Player : ThunderStorm Lowest Score Player Score : 2330 : Destroyer Score : 678 Number of Player Average Score : 5 : 1446.80 List of Player With Bonus Reward Violet 1230 ThunderStorm 2330 KingCobra 1998 Total : 3 players

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here