#include <stdio.h>
main ()
{
float celcius, fahrenheit;
printf ("masukkan nilai celcius terserah anda: ");
scanf ("%f", &celcius);
/* ("\ n \ n ================================== ======= \ n ")*/
/*("\ t \ triyono \ n \ http://triyonosiak.blogspot.com/ \ n")*/
/*("\ n \ n ================================== ======= \ n ")*/
fahrenheit = celcius * 1.8 + 32;
printf ("%.0f celcius adalah %f fahrenheit \n", celcius, fahrenheit);
}
No comments:
Post a Comment