Lotto

See all articles from CATS v2 n9
Author(s): Myron Criswell
Publication: CATS Newsletter
Pub Details: CATS v2 n9 (Volume 2, Issue 9)
Date: December 1984
Pages: 13

Nov. 21, 1984

Jules Gesang
CATS Newsletter Editor
P.O. Box 452
Randallstown MD 21133

Dear Jules,

I guess you are inundated with programs for Maryland LOTTO. Well, here’s another for the TS 2068 or 1000/1500.

Sincerely,
Myron Criswell
[address omitted]
[phone number omitted]

   1 REM LOTTO BY MYRON CRISWELL
5 LET T$="ABCDEFGHIJ"
10 FOR J=1 TO 10
20 DIM T(6)
30 DIM A(40)
40 FOR X=1 TO 6
50 LET B=INT (RND*39+1.5)
60 LET A(B)=B
70 NEXT X
80 LET X=1
90 FOR B=1 TO 40
100 IF A(B)=0 THEN GO TO 130
110 LET T(X)=A(B)
120 LET X=X+1
130 NEXT B
140 IF T(6)=0 THEN GO TO 20
145 PRINT T$(J);
150 FOR X=1 TO 6
160 PRINT TAB 5*X;T(X);
170 NEXT X
180 PRINT
185 PRINT
190 NEXT J
200 COPY
210 STOP
9990 CLEAR
9991 SAVE "LOTTO"
9993 RUN
A    3    4   11   12   22   24
B   11   17   21   24   33   39
C    9   10   18   22   30   35
D    9   23   24   26   35   38
E    2    3   16   27   35   38
F    9   10   15   23   29   37
G    3    4   13   24   33   3[illegible]
H    1    4   22   26   36   37
I    2   10   18   19   34   36
J    3    8   12   21   22   31

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