Program to convert degrees Fahrenheit to degree celsius.

 

main()
{
float ftemp,ctemp;
clrscr();
printf("Enter The Temp. in Faherenheit..");
scanf("%f",&ftemp);
ctemp=convc(ftemp);
printf("\n The Celsius is %f",ctemp);
getch();
}
 


convc(float x)
{
float y;
y=(x-32)/1.8;
return(y);
}

 

 

  hellopankajin@rediff.com