File MA12.TMP
Directory of image this file is from
This file as a plain text file
'BEGIN' 'COMENT' COMPUTE POWERS OF A;
'INTEGER'V; 'RELAL' A,X;
WRITE(1,"FOR WHAT NUMBER WOULD YOU LIKE THE FIRST TEN POWERS?");
X:=1;
READ (1,A); SKIP;
'FOR' V:=1 'STEP' 1 'UNTIL'10 'DO'
'BEGIN'
X:=A*X;
WRITE (1,A," TO THE", V ," EQUALS",X);
SKIP;
'END'
SKIP;SKIP;
'END'
$
Feel free to contact me, David Gesswein djg@pdp8online.com
with any questions, comments on the web site, or if you have related equipment,
documentation, software etc. you are willing to part with. I am
interested in anything PDP-8
related, computers, peripherals used with them, DEC or third party, or
documentation.
PDP-8 Home Page
 PDP-8 Site Map
 PDP-8 Site Search