/* stdio.h needed since we are using printf */ #include /* function needed since we are using the convert_to_f function that we wrote */ #include "function.h" /* the main function. It returns an integer and does not accept any command line arguments */ int main( void ) { /* declare a float to hold the fahrenheit temperature */ float f; /* declare a float for the celsius temperature and set the value to 37 */ float c=37; /* pass the celsius temperature to the convert_to_f function and store the results in the variable f */ f=convert_to_f( c ); /* print the results */ printf( "%.1fC = %.1fF \n", c, f ); /* return 0 to end the program */ return 0; }