MAD101_-_Test2_-_SU_2024_2075.webp
minhkhai99

MAD101_-_Test2_-_SU_2024_2075.webp

Question: 65 (Choose 1 answer)
Given the recursive algorithm Procedure function (n: positive integer)if (n=1) then function(n):= 1 else if (n = 2) then function(n): = 1 else function(n): = function(n-1) + function(n-2)Find the value of function(n) when n = 7.
A. 5
B. 3
C. 13
D. 1

Thông tin

Category
MAD101
Thêm bởi
minhkhai99
Ngày thêm
Lượt xem
1,404
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom