10 REM 'OR' LOGICAL TEST PROGRAM
20 PRINT "ENTER A NUMBER FROM 1 TO 10";
30 INPUT A
35 IF A = -999 THEN 99
40 B= A<1 OR A>10
50 IF B<>0 THEN 80
60 PRINT A;"IS A NUMBER BETWEEN 1 AND 10"
70 GOTO 20
80 PRINT A;"IS NOT GREATER THAN 0 AND LESS THAN 11"
90 GOTO 20
99 END
