How to convert Fahrenheit to Centigrade using C language.

 #include <stdio.h>

#include <stdlib.h>


int main(){

   float far,cel;

   printf("Enter the temparature : \n");

   scanf("%f",&far);


   cel = (5*far - 160) / 9;




   printf("Conversion Fahrenheit to Centigrade : %.2fC",cel);






    return 0;

}


Comments