java.KC
9526155 電子三甲 胡國治 課程專用部落格
2009年6月15日 星期一
LAB28 6/15 Recursive Method
以上為Fibonacci數列以Recursive方式寫出的Method,所在為Class Fibonacci。
預設了 n=1及n=2時的回傳值
以上為測試Demo程式
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
相關聯結
專題網站
張耀仁老師網站
追蹤者
網誌存檔
▼
2009
(43)
▼
6月
(34)
Homework 11 5/25 User test
LAB30 6/15 Hanoi Tower
Homework 12 6/1 Modular Sorting
LAB27 6/1 Array
LAB26 5/25 Static Method II on Complex multiply
LAB 25 5/25 Magic Parking Tower
LAB24 5/25 Static Mathod on Complex addition
LAB 23 5/25 Math methods
LAB22 5/25 Finding the max of three numbers by sta...
Homework 10 5/4 Temperature
LAB21 5/4 Constructor
LAB20 5/4 Method overloading
Homework 9 4/27 Class Fraction
LAB19 4/27 ADT
LAB18 4/27 Class Definition3
Homework 8 4/13 Fraction multiply test
LAB17 4/13 Fraction equality test
LAB16 4/13 Fraction addition
Homework 7 3/30 Counter
Homework 6 3/23 Incomes Average
LAB13 3/23 Cosine
Homework 5 3/16 Flow of Control
Homework 4 3/9 Console I/O
Homework 3 3/2 String process
Homework 1 2/16 基本概念
LAB11 3/16 Finding the max of the list
LAB10 3/16 Finding the max of three numbers
LAB9 3/16 Tax Calculation
LAB8 3/9 Keyboard Precessing
LAB7 3/9 Keyboard Input
LAB28 6/15 Recursive Method
LAB29 6/15 Factorial
LAB6 3/9 Scanner
LAB2 2/23 Scientific Computation
►
3月
(7)
►
2月
(2)
最新回覆
載入中…
沒有留言:
張貼留言