中国中医科学院马堃:Qbasic的问题
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/15 10:20:05
帮我看看下面的语句有什么问题。
x=15:k=1
circle(x,200),14
paint(x,200),14
for i=1 to 3000
circle(x,200),10,0
paint(x,200),0
if x-1<=10 or x+1>=600 then k=-k
x=x+k
circle(x,200),10,14
paint(x,200),14
next i
end
*
*
*
*
*
http://zhidao.baidu.com/question/4745352.html
x=15:k=1
circle(x,200),14
paint(x,200),14
for i=1 to 3000
circle(x,200),10,0
paint(x,200),0
if x-1<=10 or x+1>=600 then k=-k
x=x+k
circle(x,200),10,14
paint(x,200),14
next i
end
*
*
*
*
*
http://zhidao.baidu.com/question/4745352.html
paint 语句有问题~
循环好像也不对~