 
		康笑寒
2016-03-17 16:10
public static void main(String[] args){
// 变量保存成绩
int score = 53;
int count = 0;
System.out.println("加分前成绩"+score);
do{
score=score+1;
count=count+1;
}
while(score<60);
System.out.println("加分后成绩"+score);
System.out.println("加分次数"+count);
}
 
				++score也可以
 
				可以啊
do{
score++;
count++;
}while(score<60)Java入门第一季(IDEA工具)
1168090 学习 · 18754 问题
相似问题