Results 1 to 3 of 3
Thread: Football League Table - Idea's?
- 12-14-2009, 10:41 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 9
- Rep Power
- 0
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.
Would appreciate your idea's on how to do this and/or specific java elements that i should research in order to accomplish this. Any sort of input will help thanks
ThanksLast edited by RSYR; 12-16-2009 at 06:01 PM. Reason: Removed code due to other students googling it and copying my code.
- 11-24-2010, 05:37 PM #2
Member
- Join Date
- Nov 2010
- Posts
- 3
- Rep Power
- 0
could you repost your code? We are doing something very similar at work and I would just like to see how you focused on a specific team and gathered data for that specific team..such as games played, games won/drawn/lost etc
- 11-24-2010, 06:46 PM #3
Member
- Join Date
- Sep 2010
- Location
- Oregon, usa
- Posts
- 69
- Rep Power
- 0
It's too bad others couldn't figure out their own solution and copied yours instead. It makes it harder for the forum folks to see what you've done so far and to help.
Here goes anyway:
You could create a Team class that contains all the information needed for each team (example: int score, string name...). Then create an array of Team objects.
Hope this helps!
Chris
Just realized this was an old post! @ ibrafiqb, you could try the same as what I posted above.Last edited by tashimoto; 11-24-2010 at 06:51 PM. Reason: just realized this was an old post!
:cool: It's all here: http://download.oracle.com/javase/6/docs/api/
Similar Threads
-
add a table
By anvi123 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-19-2009, 09:06 PM -
Table display
By gissah in forum NetBeansReplies: 1Last Post: 06-25-2009, 08:20 AM -
football league
By university in forum New To JavaReplies: 2Last Post: 11-06-2008, 05:14 AM -
Inserting into a table (Example)
By Java Tip in forum Java TipReplies: 0Last Post: 02-06-2008, 09:25 AM -
Table Help
By CoOlbOyCoOl in forum NetBeansReplies: 1Last Post: 05-06-2007, 04:19 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks