亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

int one = 10 ; int two = 20 ; int three = 0; three=one+two; three=three/one;=0 three/=one;=30我始終不明白three/=one為什么等于30

?int one = 10 ;? ? ? ??

?int two = 20 ;? ? ? ??

?int three = 0;? ? ? ??

?three=one+two;?

?three=three/one;=0??

three/=one;=30我始終不明白three/=one為什么等于30

正在回答

3 回答

300除以10不就是30嗎!

0 回復 有任何疑惑可以回復我~

????????int one = 10 ;

? ? ? ? int two = 20 ;

? ? ? ? int three = 0 ;

? ? ? ? three = one + two; //當前three為:10+20=30

? ? ? ? three += one; //當前three為:30+10=40

? ? ? ? three -= one; //當前three為:40-10=30

? ? ? ? three *= one; //當前three為:30*10=300

? ? ? ? three /= one; //當前three為:300/10=30

? ? ? ? 每次計算three的值都在變


0 回復 有任何疑惑可以回復我~

300/10=30

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

int one = 10 ; int two = 20 ; int three = 0; three=one+two; three=three/one;=0 three/=one;=30我始終不明白three/=one為什么等于30

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號