Football League Table - Idea's?
okay so far i've made a program that reads in results from a .txt file and outputs the results re-arranged with and such. Now i have an extension assignment where i would need to create a league table based on the scores. I'm unsure of how to store points and how i would add scores to that specific team. I'll post my code thus far so you can see what i've done.
Removed code due to other students googling it and copying my code.
Re: Football League Table - Idea's?
Just posting an update on this so far...
i've managed to focus the code so it displays results for a particular team like it asks, however i'm still having trouble figuring out what exactly i'm supposed to do with a -html and -team options...
Also having trouble with creating a league table... i can obviously make it work for whichever team the user inputs... but i don't know how i would go about storing each in a table and then sorting it via points... and if points are the same goal difference...
Removed code due to other students googling it and copying my code.