|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen RC700 "Piccolo" |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen RC700 "Piccolo" Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 768 (0x300) Types: TextFile Names: »RENTE.PAS«
└─⟦09235ab48⟧ Bits:30003065 Demoprogrammer K-Z til Pascal bog └─⟦this⟧ »RENTE.PAS«
PROGRAM rente; VAR rente, rentefod, kapital : REAL; dagantal : INTEGER; BEGIN WRITE(CLRHOM); WRITELN('Programmet beregner renten, når man indtaster KAPITAL,'); WRITELN('RENTEFOD og antal DAGE'); WRITELN; WRITE('Indtast KAPITAL: '); READLN(kapital); WRITE('Indtast RENTEFOD: '); READLN(rentefod); WRITE('Indtast ANTAL DAGE: '); READLN(dagantal); rente := kapital * rentefod * dagantal / 100 / 360; WRITELN; WRITELN('KAPITAL: ', kapital : 10 : 2, ' kr'); WRITELN('RENTEFOD ', rentefod : 10 : 2, ' %'); WRITELN('ANTAL DAGE: ', dagantal : 10, ' dage'); WRITELN('RENTE: ', rente : 10 : 2, ' kr'); WRITELN; END. «eof»