6 lines
176 B
Text
6 lines
176 B
Text
10 RANDOMIZE TIME:num=INT(RND*10+1):guess=0
|
|
20 PRINT "Guess the number between 1 and 10."
|
|
30 WHILE num<>guess
|
|
40 INPUT "Your guess? ", guess
|
|
50 WEND
|
|
60 PRINT "That's correct!"
|