File PRI384.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 UND ZAHL <> 2
DANN SCHREIB "KEINE PRIMZAHL"
SONST FUEHRE TEILER:=3
WIEDERHOLE WENN TEILER TEILT ZAHL
DANN SCHREIB "KEINE PRIMZAHL"
TEILER :=TEILER+2
BIS TEILER > SQR(ZAHL)
SCHREIB "ZAHL IST PRIMZAHL"
AUS;
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