Pages

Sunday, 15 July 2012

Farenheight to Celcius Conversion


#include <stdio.h>

main()
{
          int celcius;
         
          printf("Farenheight Celcius\n------------------------\n");
          for (celcius = 0; celcius <= 300; celcius = celcius + 20)
                   printf("%3d     =     %3d\n",celcius,((celcius-32)*5)/9);
}

0 comments:

Post a Comment