为什么我的score 打印不出来,而且报错了
public class xinguan{
public static void main(String []args){
int time=0;
for(int score=50;score<60;score++){
time++;}
System.out.println("加分前成绩为"+score);
System.out.println("总共加了"+time+"次");
}}
public class xinguan{
public static void main(String []args){
int time=0;
for(int score=50;score<60;score++){
time++;}
System.out.println("加分前成绩为"+score);
System.out.println("总共加了"+time+"次");
}}
2015-10-20
举报