Appears on
Assembled by Tim Ward from many sources. Contains programs 10051 – 10121.
Source Code
5 REM %M%A%T%H% %F%L%A%S%H%E%R% %1% %A%D%D 10 PRINT "ADDITION" 20 FOR L=1 TO 8 30 PRINT "*"; 40 NEXT L 50 PRINT 60 PRINT 100 LET P=INT (10*RND) 110 LET Q=INT (10*RND) 200 PRINT P;" PLUS ";Q 210 INPUT R 220 CLS 300 IF R=P+Q THEN GOTO 400 310 PRINT "%W%R%O%N%G" 320 GOTO 410 400 PRINT "%C%O%R%R%E%C%T" 410 PRINT P;" PLUS ";Q;" = ";P+Q 500 PRINT 510 PRINT 520 GOTO 10 600 SAVE "1005%8" 700 RUN