#include<stdio.h>
int main()
{
float c, f;
printf("Enter the temperature in Farenheit: ");
scanf("%f", &f);
c = (f-32)*5/9;
printf("%0.2f Farenheit = %0.2f Celcius", f, c);
return 0;
}
int main()
{
float c, f;
printf("Enter the temperature in Farenheit: ");
scanf("%f", &f);
c = (f-32)*5/9;
printf("%0.2f Farenheit = %0.2f Celcius", f, c);
return 0;
}
Comments
Post a Comment