Business

Temperature Converter (Fahrenheit to Celsius) Code For c Programing

Here is the code for program , from which you can make temperature converter program.It converts the temperature from Fahrenheit to Celsius.

#include<stdio.h>
#include<conio.h>
main()
{
    float fh,cl;
    printf("Enter temperature in farenhite:  ");
    scanf("%f",&fh);
    cl=(fh-32)/1.8;
    printf("\n\nTemp in celcius:   %f",cl);
    getch();
    return 0;

}

Hey there, I'm Najam!

Share This Post

Comments

    Blogger Comment

0 comments:

Post a Comment