/* --------------------------------------------------------------------- ** Self-Test Exercise 13.8 */ #include typedef enum { ERROR, SHORT, SKINNY, FLAT, GOOD } dim_type; dim_type analyze( double box[], double min[] ); void main( void ) { double mindims[] = {12, 10, 6}; /* Length, width, height */ double box[3]; /* Dimensions of the box. */ dim_type result; /* Are dimensions big enough? */ printf( " Enter the box dimensions: " ); scanf( "%lg%lg%lg", &box[0], &box[1], &box[2] ); result = analyze( box, mindims ); printf( ... ); }