/*Convert a Celsius temperature to Fahrenhit*/ #include<stdio.h> main() { float tmpc; float tmpf; printf("Enter Celsius temperature:"); scanf("%f",&tmpc); tmpf=32+tmpc*9/5; printf("Farenhit temperature:%.2f\n",tmpf); fflush(stdin); getchar(); } |
Sep 15 2009
October 12th, 2009 at 7:06 am
Great site. Keep doing.,