#include<stdio.h>
int main()
{
float C,F;
printf("enter temperature in F");
scanf("%f",&F);
C=(5/9.0)*(F-32);
printf("the value of temp in celsius=%f",C);
return 0;
}
int main()
{
float C,F;
printf("enter temperature in F");
scanf("%f",&F);
C=(5/9.0)*(F-32);
printf("the value of temp in celsius=%f",C);
return 0;
}
No comments:
Post a Comment