"Can he do that?"
Whatís wrong with the following code?
int scores[] = {98, 76, 84, 97, 101, 78};
int counter=0;
for (; counter <= scores.length; counter++) {
System.out.println("Test #" + counter +
": " + scores[counter]);
}
Previous slide
Next slide
Back to first slide
View graphic version