In a board game for ten players, during each round, the players take turns at making a move. A player scores a number of points for each move he makes. The game ends when one of the players scores a zero for his move. Any remaining players who have not made a move in the last round are assigned a zero score for that round. The winner of the game is the player with the highest total score. It is possible that there may be a tie. Assume the players are numbered 1 to 10.
Write a program that
a) accepts as input the 10 scores obtained for each round of the game
b) as the ten scores for a round are entered, each player’s total score should be updated
c) when the game is over displays the winning score
d) displays the number(s) of the winning player(s)