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

為了賬號安全,請及時綁定郵箱和手機(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 提問者

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

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

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

慕UI1226964 提問者

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

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

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

舉報

0/150
提交
取消

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

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

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

幫助反饋 APP下載

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

公眾號

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