DataMuseum.dk

Presents historical artifacts from the history of:

Bogika Butler

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Bogika Butler

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦896caf131⟧ TextFile

    Length: 640 (0x280)
    Types: TextFile
    Names: »FAHRENHE.PAS«

Derivation

└─⟦f983c2ef3⟧ Bits:30004681 Pascal opgaver (Butler)
    └─ ⟦this⟧ »FAHRENHE.PAS« 

TextFile

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»