復習一下,有誤請指教
//成績
int score = 53;
//加分的變量
int count = 0;
{
//打印出“加分前成績:53”
System.out.println("加分前成績:"+score);
}
//如果成績小于60,循環加分。
while(score<60){
score++;
count++;
}
//打印出加分后的成績
{
System.out.println("加分后成績:"+score);
}??
//打印出共加了幾次
{
System.out.println("共加了"+count+"次!");
}? ? ??
? ??
2018-10-30
看看標點符號是不是英文的
2018-10-28
和我的一樣。