哪位大神找找问题,只执行了一次循环
哪里错了呀?
int score = 53;
int count = 0;
System.out.println("加分前成绩"+score);
if(score<60){
count++;
score++;}
System.out.println("加分后成绩"+score);
System.out.println("共加了"+count+"次!");
哪里错了呀?
int score = 53;
int count = 0;
System.out.println("加分前成绩"+score);
if(score<60){
count++;
score++;}
System.out.println("加分后成绩"+score);
System.out.println("共加了"+count+"次!");
2017-02-22
举报