Acorn Electron

10 REPEAT
20 INPUT "Enter a number from 1 to 10: "; A%
30 PRINT "WRONG! Try again"
40 UNTIL FALSE