#include "Rectangle.h"

void Rectangle::setWidth(int v) {
    w = v;
}
void Rectangle::setHeight(int v) {
    h = v;
}
int Rectangle::getWidth() {
    return w;
}
int Rectangle::getHeight() {
    return h;
}
int Rectangle::getArea() {
    return w * h;
}