Source code dari pascal :
program suhu;
uses crt;
var
celcius,faranheit,reamur:real;
begin
clrscr;
writeln('masukan suhu dalam celcius');
readln(celcius);
faranheit:=((9 div 5)*celcius)+32;
reamur:=(4 div 5)*celcius;
writeln('suhu dalam faranheit ', faranheit :5 :5);
writeln('suhu dalan reamur ', reamur :5 :5);
readkey;
end.
berikut screenshootnya :
Post a Comment
This blog needed you to understand the word spam - never spam on this blog, although i will not moderate all of it, but you will learn it yourself, educate yourself