Fahrenheit to Celsius – C Program

Fahrenheit to Celsius C Program

Write a C Program to convert Temperature from Fahrenheit to Celsius.

#include <stdio.h>
#include <conio.h>

void main()
    float cel, fan;
    printf("Enter temperature in Fahrenheit : \n");
    cel = (fan - 32) * 5/9;
    printf("\nCelsius = %f",cel);

The output of Fahrenheit to Celsius c program :

Enter temperature in Fahrenheit : 

Celsius = 10

Leave a Reply

Your email address will not be published. Required fields are marked *