Skip to content

A basic Leaderboard for a Sports team that builds a table when the game Results is input to it

License

Notifications You must be signed in to change notification settings

striker28/LeagueTableGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a JAVA Program I wrote to generate the leaderboard or better called the League Table for a Sporting event (Here Football)

The program takes as input : The results of all the fixtures and then returns a list of the teams from top to bottom on the basis of the following parameters:

  1. Points scored
  2. Goal Difference
  3. Goals For

If the tie still can't be broken, the teams are arranged in Alphabetical Order


Sample Input: 5
Spain England France Italy Germany
3
Spain England 3 0
England France 1 1
Spain England 0 2

About

A basic Leaderboard for a Sports team that builds a table when the game Results is input to it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages