MAD101_-_Test2_-_SU_2024_2075.webp
minhkhai99

MAD101_-_Test2_-_SU_2024_2075.webp

Question: 71
(Choose 1 answer)
(See picture)
A. 6
B. 8
C. 9
D. 5
Given the recursive algorithm
procedure T(a: real number, n: nonegative integer)if n = 0 then
return 1 else
return a*T(a, n-1)
E. None of the other choices is correct
Find output if a = 2, n = 3.

Thông tin

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

Share this media

Back
Bên trên Bottom