yeah i have just noticed that its doing 6 times, because its counting 0,
also another thing that i have noticed is that when
int counter = 0;
and then
while(counter <= 19)
it counts 20 students which is fine...
but after i put input (10 10 20 20 30 30 40 40 50 50 60 60 70 70 80 80 90 90 100 100)
this is the histogram i'm getting
0-29 *** <- 1 * is missing here... becasue 10 10 20 20 fall into one group but it prints only 3 * instead of 4 ?
30-39 **
40-69 ******
70-100 ********