#include "shapes.h" Shape::~Shape() { } Square::Square(int s) : side(s) { } int Square::area() const { return side * side; } int Square::get_side() const { return side; } Rectangle::Rectangle(int w, int h) : width(w), height(h) { } int Rectangle::area() const { return width * height; } int Rectangle::get_width() const { return width; } int Rectangle::get_height() const { return height; }