Rectangle::Rectangle(double w, double l) { setWidth(w); setLength(l); } double Rectangle::perimeter() { return 2 * (width + length); } double Rectangle::area() { return width * length; } void Rectangle::setWidth(double w) { width = w; } void Rectangle::setLength(double l) { length = l; } double Rectangle::getWidth() const { return width; } double Rectangle::getLength() const { return length; }