最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

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

我這樣寫有什么問題嗎?怎么通過不了

public class HelloWorld{

? ? public static void main(String[] args) {

? ?int one = 10 ;

? ? ? ? int two = 20 ;

? ? ? ? int three = 0 ;

? ? ? ? three = one + two;

? ? ? ? System.out.println("three = one + two ==>"+three);

? ? ? ? three += one ;

? ? ? ? System.out.println("three += one ==>"+three);

? ? ? ? three -= one ;

? ? ? ? System.out.println("three -= one ==>"+three);

? ? ? ? three *= one ;

? ? ? ? System.out.println("three *= one ==>"+three);

? ? ? ? three /= one ;

? ? ? ? System.out.println("three /= one ==>"+three);

? ? ? ? three %= one ;

? ? ? ? System.out.println("three %= one ==>"+three);

? ? }

}

? ? ? ??

? ? ? ??


正在回答

5 回答

能運(yùn)行的



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

能運(yùn)行的啊!

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

不用輸出

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

為啥,我能運(yùn)行。你的運(yùn)行不了呢?

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

慕UI1226964 提問者

對(duì)啊,我很無語,明明沒有錯(cuò)
2017-09-24 回復(fù) 有任何疑惑可以回復(fù)我~

它要的輸出是單獨(dú)一個(gè)變量three,你這樣輸出是一個(gè)字符串"three = one + two ==>"再加一個(gè)變量three。

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

慕UI1226964 提問者

題目不就是這樣要求輸出這樣的嗎?
2017-09-24 回復(fù) 有任何疑惑可以回復(fù)我~
#2

綠萬哥哥 回復(fù) 慕UI1226964 提問者

不是,我的意思它要你輸出單獨(dú)一個(gè)three就行了,所以你吧前面的字符串刪了就ok
2017-10-20 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

我這樣寫有什么問題嗎?怎么通過不了

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

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

幫助反饋 APP下載

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

公眾號(hào)

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