Membuat Program Konversi Suhu dengan menggunakan Turbo Pascal

Program Konversi_Suhu;
Uses Crt;
var
    f,c:real;
begin
    Writeln(‘Program Konversi Fareinheit Ke Celcius’);
    Writeln(‘======================================’);
    Writeln;
    Write(‘Masukan Suhu dalam Farenheit: ‘);readln(f);
    c:=5/9*(f-32);
    Writeln;
    Writeln(‘Jadi Suhu Dalam Celcius Adalah: ‘,c:4:2);
    readln;
end.

2 thoughts on “Membuat Program Konversi Suhu dengan menggunakan Turbo Pascal

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s