MAD101_-_Test2_-_SP_2024_1451.webp
Sơn Tùng1

MAD101_-_Test2_-_SP_2024_1451.webp

(Choose 1 answer)
Given the algorithm
procedure TT(n, x: integer)
sum:=1
i:=0
y:=1
m:=1
while (i<n)i:=i+1
m:=m*i
y:=y*x
sum:=sum+y/m
Print(sum)
If n = 4, x = 3, what is the output of the algorithm?
A. 16.375
B. 18.4
C. 16.35
D. 18.04
E. 16.175


Q: 11

Thông tin

Category
MAD101
Thêm bởi
Sơn Tùng1
Ngày thêm
Lượt xem
658
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
MAD101_-_Test2_-_SP_2024_1451.webp
File size
157.3 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom