|
DataMuseum.dkPresents historical artifacts from the history of: Jet Computer Jet80 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Jet Computer Jet80 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 640 (0x280) Types: TextFile Names: »FAHRENHE.PAS«
└─⟦092727b26⟧ Bits:30005927 Demoprogrammer til Pascal bog (Jet-80) └─ ⟦this⟧ »FAHRENHE.PAS«
PROGRAM fahrenhe; VAR celsius, fahrenheit, reamur : REAL; BEGIN WRITE(CLRHOM); WRITELN('Programmet udskriver CELSIUS- og REAUMUR-gradtallene,'); WRITELN('når man indtaster gradtallet for FAHRENHEIT'); WRITELN; WRITE('Indtast FAHRENHEIT: '); READLN(fahrenheit); celsius := (fahrenheit - 32) / 1.8; reamur := celsius * 0.8; WRITELN; WRITELN('Fahrenheit: ', fahrenheit : 7 : 2); WRITELN('Celsius: ', celsius : 7 : 2); WRITELN('Reamur: ', reamur : 7 : 2); WRITELN; END. «eof»