Temperature In Fahrenheit And Then Display It In Centigrade
/* PROGRAM TO ACCEPT Temperature In Fahrenheit And Then Display It In Centigrade */ #include
#include
void main() { int farh; float cent; clrscr(); printf("\nEnter the temperature in farenheat\n\n"); scanf("%d",&farh); cent = 5.0*(farh-32)/9.0; printf("\ntemperature in centigrade = %f",cent); getch(); }
Please send comments to
vgdarur.javafive@blogger.com
Copyright © 2008 - iForeRunner.com
http://www.iforerunner.com/