Write a program to convert temperature entered by user from Fahrenhit into Celcius : GTU Nov-Dec 2010

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

void main()
{
    float a=0,b=0;
    clrscr();

    printf("\n Please enter the tempreature = ");
    scanf("%f",&a);
    b=((a-32)*5)/9;

    printf("\n Tempreature in calcius = %f",b);
    getch();
}

Post a Comment

0 Comments