There will be 2 teams with 5 players in each team, each player will get to hit a penalty shot, a random number will be generated when a penalty shot is hit, if the generated random number is in between the given range (10-15) then it's a goal or it's a miss. Note: Range will be a user input. Finally display the winner based on the number of goals scored.
From the above question, make the number team and players dynamic and then players have to shoot in an alternative way from each team. The number of rounds is also added. ex: 3 team 3 players and 2 rounds
Finally display which team has won
From the above question , if a player hit a goal he will get 100rs . Display who has the highest money and which team has the highest money.