用 for break报错
public static void main(String[] args) { int score = 53; int count = 0; System.out.println("加分前成绩"+score); for(;score<=60;score++){ count=count+1; if(score>=60){ break; System.out.println(count); } } }
System.out.println(count);报错。。为什么啊