43.請問如下程式的執行結果為何?
(A)8
(B) 2
(C) 3
(D) 5
function q(n)
if n<=1 then q=1 else q=q(n-1)+q(n-2)
end function
print q(5)
答案:登入後查看
統計: A(0), B(0), C(2), D(0), E(0) #1081642
統計: A(0), B(0), C(2), D(0), E(0) #1081642