Hmm now wondering if there is an easier way to do this.
Now ive got the doubles as the scores of each line..
now the max score can be 6.0
the min score is -6.0
i guess i want to add the pipes to the end of the line..
0.1 score is equal to 1 pipe..
instead of going:
etc.. is there a easier way of doing it. The graphs go like this. the blank space before the start is the 60 negative scores.. if its negative the bottom 1 will show how it goes.. the opposite direction to the positive..Code :
if(score[m] == 0.1){ Out.println(" |"); } else if(score[m] == 0.2){ Out.println(" ||"); } else if(score[m] == -0.2){ Out.println(" ||"); }
so is there an easier way?