ok basically I have an arraylist with the names of soccer teams, i.e Manchester United, Man City, Arsenal, everton e.t.c and I have a 2d array with al the information inside to create a leaderboard, my problem is that my output is this:
Team___________Played__HomeWins__HomeDraws___HomeL ossess e.t.c
Manchester United __27______8__________3_____________1
Man City _____27___6_______4__________3
Everton ______27___4_______5__________6
but I want this:
Team___________Played__HomeWins__HomeDraws___HomeL ossess e.t.c
Manchester United__27________8__________3____________1
Man City __________27________6_________4____________3
Everton ___________27________4_________5____________6
(I used __________ because spaces didnt work)
I cant get the results to line up under the headings correctely
the array list has the team names in it and the 2d array has the team number for the rows i.e 1 is Man united and then the columns are "games played" "home wins" "home draws" e.t.c
Any help would be greatly appreciated