To convert temperature in fahrenheit to centigrade

Program:

#include<stdio.h>
#include<conio.h>
void main()
{
    float c, f;
    clrscr();
    printf("Enter the fahrenheit : ");
    scanf("%f", &f);
    c = (f - 32) / 1.8;
    printf("\nThe centigrade is : %.2f", c);
    getch();
}

Output:

Enter the fahrenheit : 113
The centigrade is : 45.00