// Chapter 6, Programming Challenge 2 #include using namespace std; // Write the prototypes for the getLength, // getWidth, getArea, and displayData // functions here. int main() { double length, // The rectangle's length width, // The rectangle's width area; // The rectangle's area // Get the rectangle's length. length = getLength(); // Get the rectangle's width. width = getWidth(); // Get the rectangle's area. are = getArea(); // Display the rectangle's data. displayData(length, width, area); return 0; } //*************************************************** // You must write the getLength, getWidth, getArea, * // and displayData functions. * //***************************************************