Someone
public text v1 · immutablefor(int i=0; i<numOfGrade.length;i++)
{// for as many times as we have different grades we can give...
for(int m=0;m<numOfGrade[i];m++)
{System.out.print("*");} //print a number of stars equal to the current number of people who got that grade.
}
System.out.println();
}