#include<stdio.h>
int main()
{
float celsius,fahrenheit;
printf("\n Enter the Temparature in Celsius : ");
scanf("%f",&celsius);
fahrenheit = (1.8 * celsius) + 32;
printf("\n Temperature in Fahrenheit : %f ",fahrenheit);
return 0;
}
OUTPUT:
Enter the Temparature in Celsius : 31 Temperature in Fahrenheit : 87.800003