Program suhu;
Uses wincrt;
Var
c, f, r : real;
Begin
writeln(' C F R');
writeln('
---------------------');
c := 0;
repeat
f := (9/5) * c
+ 32;
r := (4/5) * c;
writeln (c:8:1,
f:8:1, r:8:1);
c := c + 0.5;
until c > 10;
writeln(' ---------------------');
end.
Tidak ada komentar:
Posting Komentar