#include "Rectangle.h"

double Rectangle::getArea() {
    return width * height;
}
double Rectangle::getPerimeter() {
    return width * 2 + height * 2;
}
void Rectangle::setWidth(double d) {
    width = d;
}
void Rectangle::setHeight(double d) {
    height = d;
}