第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

正在回答

2 回答

我理解的的意思; ?但是你寫的不對(duì);應(yīng)該這樣寫,把這個(gè)和你自己寫的對(duì)比一下就知道哪里有問題了

package hello;


public class tezt03 {

public static void main(String[] args) {

int score=53;

int count=0;

System.out.println("加分前的成績(jī)"+score);

if(score>=60){

System.out.println("加分后的成績(jī)"+score);

System.out.println("加分次數(shù)"+count);

}

else{

do{

score++;

count++;

}

while(score<60);

System.out.println("加分后的分?jǐn)?shù)"+score);

System.out.println("加分次數(shù)"+count);

}

}

}


1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

孤訴丶 提問者

非常感謝!
2017-02-28 回復(fù) 有任何疑惑可以回復(fù)我~

用循環(huán)去做啊,if只是判斷一次而已 ? 在if的外面套層循環(huán)

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么加分次數(shù)還是1

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)