KHORFOX

发表的评论

我认为它们是一个错误的转换:30 guess$ = val(guess$),可行的代码是

10 value= cint(rnd * 100) + 1
20 input "enter guess"; guess$
30 guess = val(guess$)
40 if guess < value then print "Too low"
50 if guess > value then print "Too high"
60 if guess = value then 80
70 goto 20
80 print "That's right"

© . All rights reserved.