写出下列程序运行的结果.
(1)a="2"
i="1"
WHILE i<="6"
a="a+1"
PRINT i,a
i="i+1"
WEND
END
(2)x=100
i=1
DO
x=x+10
PRINT i,x
i=i+1
LOOP UNTIL x=200
END
推荐试卷
写出下列程序运行的结果.
(1)a="2"
i="1"
WHILE i<="6"
a="a+1"
PRINT i,a
i="i+1"
WEND
END
(2)x=100
i=1
DO
x=x+10
PRINT i,x
i=i+1
LOOP UNTIL x=200
END
试题篮
()