/* #------------------------------------------------ # Konversi Suhu Celcius Ke Fahrenheit dan Reamur #------------------------------------------------ Ket : c = Celcius f = Fahrenheit r = Reamur Fahrenheit = 9/5 atau 1,8 (1.8 x Celcius + 32) Reamur = 4/5 atau 0,8 (0,8 x Celcius) */ #include<stdio.h> #include<conio.h> #include<iostream.h> void main() { float c,f,r; printf("Input Celcius = ");scanf("%f",&c); f=1.8*c+32; r=0.8*c; printf("Fahrenheit ");printf("%f",f);printf(" Reamur ");printf("%f",r); getch(); }
Friday, January 27, 2012
Konversi Suhu Celcius Ke Fahrenheit dan Reamur (Borland C++)
Related Posts
Abe Wisnu
I am a fan of technology and i love coffee. I’m also interested in web programming and networking. below there are some accounts you can follow to contact me.