Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 440 Bytes

p2.md

File metadata and controls

3 lines (2 loc) · 440 Bytes

Part Two: Soccer League Table

The file football.dat contains the results from the English Premier League for 2001/2. The columns labeled ‘F’ and ‘A’ contain the total number of goals scored for and against each team in that season (so Arsenal scored 79 goals against opponents, and had 36 goals scored against them). Write a program to print the name of the team with the smallest difference in ‘for’ and ‘against’ goals.