// header file classe Cubo #ifndef CUBO_H #define CUBO_H #include using std::string; class Cubo { public: Cubo (double = 0., double = 0., double = 0., double = 0.); void setX (double); double getX()const; void setY (double); double getY()const; void setZ (double); double getZ()const; void setLato (double); double getLato()const; double getArea()const; double getVolume()const; string getName() const; void print() const; private: double x; double y; double z; double lato; }; #endif