/* #------------------------------------------------ # 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
- PART I /* ######################################## # Program Penghitung Umur/Usia [PART I
- Sejarah Bahasa C Bahasa pemrograman C Pertama kali Dibuat pada tahun 1972 oleh Dennis R
- /* ################################## # Kalkulator Sederhana (Switch) ################
- Agak ribet memang kalau ada beberapa perintah yang harus di jalankan melalui ssh dan i
- /* #----------------------------- # Nilai IPK #----------------------------- Ket : nm =
- Bahasa pemrograman c++ menyediakan beberapa struktur kontrol yaitu : if if else switch c
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.