#include <stdio.h>
/* More debugging work - there are only two bugs to find here */
int main(int argv, char **argc)


/* Convert Centigrade from -30 to 110 to Fahrenheit */
{
    double c;
    double f;
    for (c= -30.0; c < 120.0; c+= 10.0) {
    	printf ("%6.1d degrees centigrade is ",c);
    	f= ctof(c);
    	printf ("%6.1f degrees fahrenheit.\n",f);
    }
    return 0;
}

double ctof (double c)
/* Function takes centrigrade and returns farenheit */
{
    double f;
    f= (c * 9.0 / 5.0) + 32.0;  /*The classic and CORRECT formula to convert */
    return f;
}

