# include
# include
using namespace std;

int main( )
{
//	declare variables

	double length;
	double width;
	double area;

// 	enter length and width

	cout << "This program computes the area of a rectangle" << endl;
	cout << "Enter the length." << endl;
	cin >> length;
	cout << "Enter the width." << endl;
	cin >> width;

//	compute the area

	area = length*width;

//	output the area

	cout << "The area of the rectangle is = " << area << endl;

	return 0;
}  

    Source: geocities.com/vuumanj/Cpp

               ( geocities.com/vuumanj)