第二个if报错?
for (int i = scores.length - 1;i >= 0;i--) {
if (scores[i] >= 0 && scores[i]<=100) {
count++;
System.out.println(scores[i]);
}
continue;
if( count> 3) {
break;
}
想问一下为什么第二个if会报错?
for (int i = scores.length - 1;i >= 0;i--) {
if (scores[i] >= 0 && scores[i]<=100) {
count++;
System.out.println(scores[i]);
}
continue;
if( count> 3) {
break;
}
想问一下为什么第二个if会报错?
2017-09-22
举报