write a C program for Conversion of Temperature from Fahrenheit to Centigrade
![c program for conversion of temperature from fahrenheit to centigrade c program for conversion of temperature from fahrenheit to centigrade](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_541,h_472/http://blog.eduguru.in/wp-content/uploads/2016/03/c-program-for-conversion-of-temperature-from-fahrenheit-to-centigrade.png)
Problem Statement:
Temperature of a city in Fahrenheit degrees is input through the keyboard. Write a c program to convert this temperature into Centigrade degrees.
Answer:
/* Conversion of Temperature from Fahrenheit to Centigrade */
#include <stdio.h>
#include <conio.h>
main()
{
float fr, cent;
clrscr();
print(“\n Enter the temperature in Fahrenheit:”);
scanf(“%f”, &fr);
cent=5.0/9.0*(fr-32);
printf(“\n Temprature in Centigrade=%f”, cent);
printf(“\n\n\n\n\n Press any key to exit…..”);
getch();
}
Please run this program and share the output with us.