home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oakland CPM Archive
/
oakcpm.iso
/
cpmug
/
cpmug013.ark
/
CHIEF.BAS
< prev
next >
Wrap
BASIC Source File
|
1984-04-29
|
1KB
|
49 lines
10 PRINT " I AM CHIEF NUMBER FRIEK, THE GREAT INDIAN MATH GOD."
20 PRINT "ARE YOU READY TO TAKE THE TEST YOU CALLED ME OUT FOR";
30 INPUT A$
40 IF LEFT$ (A$,1)="Y" THEN 60
50 PRINT "SHUT UP PALEFACE WITH WISE TONGUE."
60 PRINT " TAKE A NUMBER AND ADD 3. DIVIDE THIS NUMBER BY 5 AND"
70 PRINT "MULTIPLY BY 8. DIVIDE BY 5 AND ADD THE SAME. SUBTRACT 1."
80 PRINT "WHAT DO YOU HAVE";
90 INPUT B
100 C=(B+1-5)*5/8*5-3
110 PRINT "I BET YOUR NUMBER WAS ";C;" WAS I RIGHT";
120 INPUT D$
130 IF LEFT$ (D$,1)="Y" THEN 510
140 PRINT "WHAT WAS YOUR ORIGINAL NUMBER";
150 INPUT K
160 F=K+3
160 G=F/5
170 H=G*8
180 I=H/5+5
J=I-1
200 PRINT "SO YOU THINK YOUR SO SMART, EH?"
130 PRINT "NOW WATCH...."
220 PRINT K;"+3=";F;". THIS DIVIDED BY 5 =";G;","
230 PRINT "THIS * 8 =";H;". IF WE DIVIDE BY 5 AND ADD THE SAME,"
240 PRINT "WE GET ";I;". -1 = ";J;"."
250 PRINT "NOW DO YOU BELIEVE ME"; : INPUT Z$
260 IF LEFT$(Z$,1)="Y" THEN 510
295 PRINT "YOU HAVE MADE ME MAD!!!"
300 PRINT "THERE MUST BE A GREAT LIGHTNING BOLT!"
310 PRINT : PRINT
320 FOR X = 30 TO 22 STEP -1
340 PRINT TAB(X); "X X"
350 NEXT X
360 PRINT TAB(21);"X XXX"
370 PRINT TAB(20);"X X"
380 PRINT TAB(19);"XX XXX"
390 FOR Y = 20 TO 13 STEP -1
400 PRINT TAB(Y);"X X"
410 NEXT Y
420 PRINT TAB(12);"XX"
430 PRINT TAB(11);"X"
440 PRINT TAB(10);"*"
450 PRINT
PRINT "################################" : PRINT
PRINT "I HOPE YOU BELIEVE ME NOW FOR YOUR SAKE!!!"
480 GOTO 520
510 PRINT "BYE"
520 END