MAD101_-_C1_-_RE_-_SU_2023_591.webp
Hồng Hạnh1

MAD101_-_C1_-_RE_-_SU_2023_591.webp

(47
Answer (Choose 1 answer)
Which of the following algorithms are recursive?
procedure ABC(n, P: integers)P:=0;for j:=1 to n begin if (j mod 2 = 0) then P: = P -j;else P: = P + j;
end
(ii) procedure ABC(n, P: integer)P: = 1:for j:=1 to n begin if (j mod 2 = 0) then P: = P+j else P: = P*j end
A. None of them
B. Only (i)
C. Only (ii)
D. Both of them

Thông tin

Category
MAD101
Thêm bởi
Hồng Hạnh1
Ngày thêm
Lượt xem
1,155
Lượt bình luận
6
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
MAD101_-_C1_-_RE_-_SU_2023_591.webp
File size
50 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom