Temperature of a city in Fahreinheit degrees is input through the keyboard. Write a program to convert this temerature into Centigrade degrees.
#include<stdio.h>
main ()
{
float temp_c,
temp_f;
printf ("Enter the value of Temperature in Celcius: ");
scanf ("%f",
&temp_c);
temp_f = (1.8 * temp_c) + 32;
printf ("The value of Temperature in Fahreinheit is: %f",
temp_f);
}
No comments:
Post a Comment
kiss on google ads if you are anonymous because your ip is trackable.thank you.
......from.admin