Old Programs

See all articles from The Plotter v9 n8
Author(s): Rod Gowen
Publication: The Plotter
Pub Details: The Plotter v9 n8 (Volume 9, Issue 8)
Date: August 1991
Pages: 4, 10

The 3 programs in the this issue are from Vol. #1, Issue #1 of THE PLOTTER (1983). Rod Gowen produced these to help his daughters become more proficient in grade school mathemetics. New users of the ZX81, TS 1000, and TS 1500 series of computers will find them simple and easy to use. For these computers add a line 6 with SLOW. Users of the 2068 will find that these programs work also.

Rod holds membership #2 in CCATS and was instumental in its formation. From this beginning he has formed a nice business.

   2 REM by Rod Gowen, 1981
3 REM ZX81,1000,1500,2068
5 REM "MATH DRILL M"
7 PRINT "MULTIPLICATION DRILL"
8 PRINT
10 LET X=INT (RND*22)+1
20 LET Y=INT (RND*20)+1
40 PRINT AT 10,0;X;" TIMES ";Y;;"=",;"ANSWER?"
70 INPUT Z
80 PRINT AT 10,15;,Z;" "
82 PAUSE 200
85 CLS
90 IF Z=X*Y THEN PRINT AT 5,0;"GREAT ***** SUPER";,,,;"NEXT?"
95 IF Z=X*Y THEN GO TO 10
110 IF Z<>X*Y THEN PRINT AT 5,0;"NOPE, SORRY,",,,, "TRY AGAIN"
115 PRINT
120 IF Z<>X*Y THEN GO TO 40
130 CLS
   2 REM by Rod Gowen, 1981
3 REM ZX81,1000,1500,2068
5 REM "MATH DRILL A"
10 PRINT "ADDITION"
30 LET X=INT (RND*500)+1
40 LET Y=INT (RND*500)+1
50 PRINT AT 10,0;X;" PLUS ";Y;"=","ANSWER?"
70 INPUT Z
80 PRINT AT 10,16;,Z;" "
85 PAUSE 200
87 CLS
90 IF Z=X+Y THEN PRINT AT 5,0;"HOORAY >>>> GO ON"
95 IF Z=X+Y THEN GO TO 30
120 IF Z<>X+Y THEN PRINT AT 5,0;"NO, NO,NINNY",,,, "TRY AGAIN"
140 IF Z<>X+Y THEN GO TO 50
   2 REM by Rod Gowen, 1981
3 REM ZX81,1000,1500,2068
5 REM "MATH DRILL S"
7 PRINT "MATH DRILL 4"
10 PRINT "SUBTRACTION"
30 LET X=INT (RND*500)+1
40 LET Y=INT (RND*500)+1
45 IF X<Y THEN GO TO 30
50 PRINT AT 10,0;X;" MINUS ";Y;"=";"ANSWER?"
70 INPUT Z
80 PRINT AT 10,17;,Z;" "
82 PAUSE 200
85 CLS
90 IF Z=X-Y THEN PRINT AT 5,0;"RIGHT ON,",,,,"GO ON TO NEXT"
110 IF Z=X-Y THEN GO TO 30
120 IF Z<>X-Y THEN PRINT AT 5,0;"NOT SO FAST,",,,, "DO IT OVER"
140 IF Z<>X-Y THEN GO TO 50

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.