2008-12-13 17:49:47× 7 - Eleven 〃
【 Introduction to Computer Science (五)
輸出變數c的值
c=0
i=1
j=2
k=3
i<10 (否則輸出c值)
i=i+j-k
j=j+2
k=k+1
c=c+1
i=0,1,2,4,7,11
j=4,6,8,10,12,14
k=4,5,6,7,8,9
c=1,2,3,4,5,6
(i)11<10 否
輸出c=6