X= 0 Y=4 DO until y >4 x=x*y y=y+1 LOOP PRINT X
问题描述:
X= 0 Y=4 DO until y >4 x=x*y y=y+1 LOOP PRINT X
答
X = 0
y = 4
Do Until y > 4
X = X * y
y = y + 1
Loop
Print X
X=X*y,不管y是多少,0乘上任何数都是0.
所以最后X=0.