Jump to content

Guess the number/With feedback: Difference between revisions

m
m (→‎{{header|Minimal BASIC}}: Removed obscuring REMs. Corrected jump for G >= 1.)
Line 1,383:
n = random 100
repeat
g = number input
write g
if error = 1
print "You must enter a number!"
elif g > n
print " is too high"
elif g < n
print " is too low"
.
until g = n
.
print " is correct"
2,058

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.