CSD201_-_SP_2024_-_Block_5_-_FE_1949.webp
Nakime93

CSD201_-_SP_2024_-_Block_5_-_FE_1949.webp

  • Media owner Nakime93
  • Ngày thêm
Multiple Choices
(Choose 1 answer)
int fun(int n)
Consider the following function:
{if(n==1 || n==2)
return(1);
else
return(fun(n-1) +3*fun(n-2));}
What is the value of fun(3)?
A. 5
B. 12
C. 3
D. 4
Ε. 11

Thông tin

Category
CSD201
Thêm bởi
Nakime93
Ngày thêm
Lượt xem
2,906
Lượt bình luận
20
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom