#include "Rectangle.h" Rectangle::Rectangle() { w = 1; h = 2; } Rectangle::Rectangle(int nH, int nW) { w = nW; h = nH; } int Rectangle::getArea() { return h * w; }