星期五, 3月 11, 2005

3/11 Lab

3/11 Lab

1. Let i=2;
Print i;
Print 2 * (i++);
Print i;

Ans: 2, 4, 3

2. Let i=2;
Print i;
Print 2 * (++i);
Print i;

Ans: 2, 6, 3

3. Let m=7, n=2;
Print (double) m/n;
Print m/ (double)n;

Ans: 3.5, 3.5

4. Codemate 1.01

Ans: Consumption of 1136.3636363636365 kg of soda would kill a person weighing 50.0 kg.


5 Codemate 1.03

24 則留言:

Yung-Chao Chen 提到...

s9026237 did 1,2,3,4,5.

Tsai,Shih-Kai 提到...

s9026234 have done 1 to 5

yuankai 提到...

s9126107 did 1,2,3,4,5.

阿雞 提到...
網誌管理員已經移除這則留言。
LiDiDoWe 提到...

s9014104 did 1,2,3

s9026262 提到...

s9026262 did 1,2,3,4,5.

s9026323 提到...

s9026323 did 1,2,3,4,5

s9126218 提到...

s9126218 did 1,2,3,4,5

s9126366 提到...

s9126366 did 1,2,3,4,5

s9126332 提到...

s9126332 did 1,2,3,4,5

呂俊昇 提到...

s9126265 did 1.2.3.4.5

cheann 提到...

g9378023 did 1,2,3,4,5.

Gpie(9014118) 提到...

i did 1,2,3

s8931169 提到...

s8931169 did 1,2,3,4,5.

s9026164 提到...

s9026164 did 1,2,3,4,5

s9126220stan 提到...

期待jbuilder2005 enterprise
不過對於jbuilder使用環境還是很陌生不是很清楚怎麼使用......真糟糕...!希望我能夠儘速進入狀況才好....!
有新歌可以聽喔~~點我進去看唷

s9126220stan 提到...

s9126220 did1 .2 .3

s9126359 提到...

s9126359 did 1,2,3,4,5

eddi_zkw 提到...

s9026104 did 1,2,3,4,5

kai-jie jhan 提到...

s9026113 did 1,2,3,4,5

s9026144 提到...

s9026144 did 1,2,3,4,5

s9126332 提到...

s9126332 did 1,2,3,4,5

s9126326 提到...

s9126326 did 1,2,3,4,5

柏青 提到...

s9026314 did 1,2,3,4,5