n = RND % 100 e = 0 20 input "Guess the number: ", i e = e + 1 if i > n then print "Too big!" if i < n then print "Too small!" if i = n then goto 42 goto 20 42 print "That's right! You got it with only ", e, " guesses!" end