#include
<math.h>
#include
<iostream.h>
#include
<conio.h>
float
c,f,r,k;
void
main()
{
cout<<"================================"<<endl;
cout<<" KONVERSI SUHU DARI CELCIUS KE
"<<endl;
cout<<" Fahrenheit : Reamur : Kelvin "<<endl;
cout<<"================================"<<endl;
cout<<endl;
cout<<"Masukkan
Suhu Dalam Celcius = ";cin>>c;
cout<<endl;
f=(9/5*c)+32;
r=0.8*c;
cout<<"==============================================="<<endl;
cout<<" HASIL KONVERSI"<<endl;
cout<<"==============================================="<<endl;
cout<<"suhu
dalam Fahrenheit = "<<f<<" Derajat
Celcius"<<endl;
cout<<endl;
cout<<"suhu
dalam Reamur =
"<<r<<" Derajat Celcius"<<endl;
cout<<endl;
cout<<"suhu
dalam Kelvin =
"<<k<<" Derajat Celcius"<<endl;
cout<<endl;
cout<<"==============================================="<<endl;
getch();
0 komentar:
Posting Komentar