// header file classe Sfera #ifndef SFERA_H #define SFERA_H #include using std::string; class Sfera { public: Sfera (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 setRaggio (double); double getRaggio()const; double getArea()const; double getVolume()const; string getName() const; void print() const; private: double x; double y; double z; double raggio; }; #endif