#include "Rectangle.h" Rectangle::Rectangle() {} Rectangle::Rectangle(double a, double b) { width = a; height = b; } void Rectangle::setWidth(double v) { width = v; } void Rectangle::setHeight(double v) { height = v; } double Rectangle::getWidth() const { return width; } double Rectangle::getHeight() const { return height; } double Rectangle::getArea() const { return width * height; }