Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------
created by st10 at Wed Mar 3 14:48:42 PST 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
using namespace std;
/*--------------------------------------------------
Contract: rect_area : double double -> double
Purpose: expects the length and width of a rectangle,
and produces its area
Examples: rect_area(3, 4) == 12.0
rect_area(10, 20) == 200
--------------------------------------------------*/
double rect_area(double length, double width)
{
return length * width;
}