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
2018-11-18
300除以10不就是30嗎!
2018-11-10
????????int one = 10 ;
? ? ? ? int two = 20 ;
? ? ? ? int three = 0 ;
? ? ? ? three = one + two; //當(dāng)前three為:10+20=30
? ? ? ? three += one; //當(dāng)前three為:30+10=40
? ? ? ? three -= one; //當(dāng)前three為:40-10=30
? ? ? ? three *= one; //當(dāng)前three為:30*10=300
? ? ? ? three /= one; //當(dāng)前three為:300/10=30
? ? ? ? 每次計(jì)算three的值都在變
2018-11-09
300/10=30