35. 有一個函式 Compute 定義如下:
int Compute (int x )
{
if (x<1)
return (1);
else if (x=1)
return (3);
else
return (5*Compute(x-1)-6*Compute(x-2));
}
當執行Compute(4)時,其結果為何?
(A)9
(B)81
(C)195
(D)211
詳解 (共 2 筆)
未解鎖
假設 Compute ( )=用 數學函...
未解鎖
c(0)=1;c(1)=3;c(2)=5...