/*To Convert given temperature from celsius to fahrenheit*/
#include<math.h>
#include<stdio.h>
int main()
{
float C, F;
printf("Enter the value of temperature in celsius:");
scanf("%f", &C);
F=(C+17.776)/.5555;
printf("The value of temperaure in fahrenheit: %f\n",F);
return(0);
}
#include<math.h>
#include<stdio.h>
int main()
{
float C, F;
printf("Enter the value of temperature in celsius:");
scanf("%f", &C);
F=(C+17.776)/.5555;
printf("The value of temperaure in fahrenheit: %f\n",F);
return(0);
}
Comments
Post a Comment