MAD101_-_SP_2024_-_Block_5_-_FE_1940.webp
night_owl1

MAD101_-_SP_2024_-_Block_5_-_FE_1940.webp

(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
FUO
5

Thông tin

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

Image metadata

Filename
MAD101_-_SP_2024_-_Block_5_-_FE_1940.webp
File size
167.4 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom