// This program implements a Rectangle class.

// include guard - makes sure Rectangle.h is included only once

#ifndef Rectangle_h
#define Rectangle_h

#include <iostream>
using namespace std;

// Rectangle class declaration
class Rectangle
{
//	private:
public:
		double length;
		double width;
	public:

// default constructor - initialize member variables with safe values
// default parameters

		Rectangle(int l=0, int w=0) {
					length=l; 
					width=w; 
				//	cout << "The constructor was called!\n";  
}
		~Rectangle()  { }
                 //cout << "a rectangle is being destroyed.\n"; }

		void setLength(double);
		void setWidth(double);
		double getLength() { return length; }   // inline function
		double getWidth();
		double getArea();
};

#endif
