In which case you don't want / 5. You want / (TEAMS − 1)
geronimo Finch wrote: . . .
There are six teams . . .
geronimo Finch wrote:What I need to do is store user input via scanner in an array - user will first enter wins, draws, losses - I want to store this info in a matchStats array.
Then the user will enter via scanner points scored and types of scores - I want to store this info in a gamesStats array.
I need to loop through each of the six sides asking the same two questions and taking in the responses then outputting all the info in a league table.
So is my stats class unnecessary if I am saving all input into arrays?
You put code tags round it and change where it says java to read text. And you should avoid tabs: use only spaces. Even then it is awkward because the widths of characters before and after are different.
geronimo Finch wrote:Ok that table looks horrible! But it was aligned perfectly when I posted it?
geronimo Finch wrote: . . . if I were to create 7 arrays . . .