/* --------------------------------------------------------------------- // Figure 9.18: First draft of main() for the fin program. // Figure 9.19: A print_table() stub for the fin program. // --------------------------------------------------------------------- */ #include "tools.h" void print_table( float N ); void main( void ) { float len; /* The length of the cooling fin (m). */ banner(); puts( " Temperature Along a Rectangular Cooling Fin" ); printf( "\n Please enter the length of the fin in meters: " ); scanf( "%g", &len ); print_table( len ); bye(); } /* Stub: -------------------------------------------------------------- ** Print a table of temperatures for a fin that is N meters long. */ void print_table( float N ) { printf( ">>> Entering print_table with parameter %g", N ); }