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