a2a15a2
1
2
3
4
5
6
7
8
9
10
10 REM "Conditions if then else demo" 20 REM "" 100 A=10 110 IF A=10 THEN 130 120 PRINT "This code is never reached" 130 IF A=10 THEN PRINT "A is 10" ELSE PRINT "A is not 10" 140 IF A=20 ELSE PRINT "A is not 20" 200 END