+ 2

How can I make the winner team appear at the end?

How can I make the winner team appear at the end? I'm beginner:) Sorry for my bad English. https://code.sololearn.com/ce31Iil8u7Re/?ref=app

23rd Sep 2019, 5:23 AM
Danyysz
Danyysz - avatar
1 Réponse
+ 3
You could make integer variables for each team, and increase them by 1 when their team gets a goal, in the end you'd compare the variables and print the team which won.
23rd Sep 2019, 7:21 AM
Seb TheS
Seb TheS - avatar