#include #include void main (void) { double length, width, height; for (;;) { // prompt user for and read the input quamtities cout << endl // space before prompt << "Please enter roof length, width and height (zeroes to exit): "; cin >> length >> width >> height; if ((length == 0) && (width == 0) && (height == 0)) { return; } if (dimensions_valid(length, width, height)) { cout << endl << "The area of the roof is " << roof_area (length, width, height) << " square units." << endl << "The roof requites " << ridge_length (length, width, height) << " linear units of capping." << endl; } else { cout << "Those values are invalid - no computations performed." << endl; } } // end for (;;) }