#include #include "Rectangle.h" using namespace std; int main() { for (int i = 0; i < 3; i++) { int w, h; cin >> w >> h; Rectangle r(w, h); cout << r.getWidth() << ' ' << r.getHeight() << ' ' << r.getArea() << endl; } cout << Rectangle::getNumOfRect() << " Rectangles"; }