星期五, 10月 12, 2007

Bonus: Lab for-loop

Write a program to generate the series 1, 1, 2, 3, 5, 8, 13, ...
The series has a property that the third number is the sum of the first and second numbers. For example, 2=1+1, 3=1+2, and 5=2+3.

20 則留言:

  1. 作者已經移除這則留言。

    回覆刪除