→ scott260202:你a-1要做什麼?還有你這行程式是放在function外宣告? 01/12 02:53
→ scott260202:你應該用 int Add( int a ) ; 01/12 02:54
→ scott260202:呼叫它時用 Add( a - 1 ) ; 01/12 02:54
→ awashharp:有甚麼事情是一定要在function中的parameter做呢? 01/12 02:55
→ james732:這該不會是在問某公司的考題吧 01/12 08:31
→ ilway25:他可能寫習慣functional language了 01/12 09:22
推 ledia:functional language 也不會這樣吧 01/12 10:42
→ ilway25:Haskell 可以 f (n+1) = n,不過我剛剛查了,新標準已拿掉 01/12 10:52