#include using namespace std; #include "Rectangle.hpp" class Cuboid { private: int length; Rectangle rect; public: Cuboid(int w, int h, int l); Cuboid(Rectangle r, int l); void setRectangle(Rectangle r); Rectangle getRectangle() const; void setLength(int l); int getLength() const; int volume(); };