|
|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 512 (0x200)
Types: TextFile
Names: »PALINDR.PAS«
└─⟦f983c2ef3⟧ Bits:30004681 Pascal opgaver (Butler)
└─⟦this⟧ »PALINDR.PAS«
= 10
THEN porto := 3000
ELSE IF vaegt <= 15
THEN porto := 5500
ELSE IF vaegt <= 20
THEN porto := 6500
ELSE WRITELN('Denne pakke er da vist fragtgods!');
IF gruppe = 2
THEN porto := porto * 2;
portokr := porto / 100;
IF (vaegt <= 20) AND ((gruppe = 1) OR (gruppe = 2))
THEN
BEGIN
WRITELN('Pakkens vægt: ', vaegt : 5 : 2, ' kg');
WRITELN;
WRITELN('Porto: ', portokr : 6 : 2, ' kr');
END;
WRITE