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);
}

1 comment:

  1. Here is just a simple article that explains how to convert between the Fahrenheit and Celsius temperature scales:
    http://www.ehow.com/how_5504000_convert-fahrenheit-celsius-temperature-scales.html

    ReplyDelete

kiss on google ads if you are anonymous because your ip is trackable.thank you.

......from.admin