public class HelloWorld {
public static void main(String[] args) {
int score = 53;
int count = 0;
System.out.println('加分前成绩:' + score);
while(score < 60){
score = score + 1;
count = count + 1;
}
System.out.println('加分后成绩:' + score);
System.out.println('共加了' + count + '次!');
}
}错误在哪儿咧?
添加回答
举报
0/150
提交
取消