File ALK398.PC

Directory of image this file is from
This file as a plain text file

[DEKLARATION:GANZ:ZAHL,TEILER]
BEGINN
LIES ZAHL;
TEILER:=2;
WENN TEILER TEILT ZAHL
DANN SCHREIBE ZAHL"IST KEINE PRIMZAHL"
SONST FUEHRE TEILER:=3
        WIEDERHOLE WENN TEILER TEILT ZAHL
                   DANN GEH NACH MARKE1
      			SONST TEILER :=TEILER+2
        BIS TEILER >SQR(ZAHL)
SCHREIBE ZAHL"IST PRIMZAHL"
AUS
GEH NACH MARKE2;
MARKE1:SCHREIBE ZAHL"IST KEINE PRIMZAHL";
MARKE2:
ENDE



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