#include "Cuboid.hpp" void Cuboid::setRectangle(Rectangle r) {rect = r;} Rectangle Cuboid::getRectangle() const {return rect;} void Cuboid::setLength(int l) { length = l; } int Cuboid::getLength() const { return length; } int Cuboid::volume() { return length * rect.getWidth() * rect.getHeight(); }