主题:猜数字游戏
cls
s=0
for i=1 to 猜几次
input a
if a<i then print "xiao"
if a>i then print "da"
if a=i then print "ok!":s=s+加多少分
next i
print s
注:我是刚学QB的小弟弟,请多多指教!
s=0
for i=1 to 猜几次
input a
if a<i then print "xiao"
if a>i then print "da"
if a=i then print "ok!":s=s+加多少分
next i
print s
注:我是刚学QB的小弟弟,请多多指教!