C program to converts temperature from Centigrade to Fahrenheit

C program to converts temperature from Centigrade to Fahrenheit

Write a C program to converts temperature from Centigrade to Fahrenheit


#include 
int main()
{
 float cel, fah;
 printf("Enter temperature in Celsius : ");
 scanf("%f", &cel);
 fah = (cel * 9 / 5) + 32;
 printf("\nAns: %.2f Celsius = %.2f Fahrenheit\n\n", cel, fah);
 return 0;
}