(Solved) : Write Class Sphere Following Properties Private Attributes 1 X Y Z Coordinates Center 2 R Q38250246 . . .
Write a program in c++ and please show me the output.
I. Write a class Sphere with the following properties: Private attributes: (1) X,Y, Z coordinates of the center (2) Radius Accessor and mutator methods to Set and get the X,Y, and Z coordinates Set and get the radius Get the volume and surface area of a sphere. . . . For a sphere, volume 4I1r3/3 surface area 4Π Write a main program to test the Sphere class. Show transcribed image text
Expert Answer
Answer to Write Class Sphere Following Properties Private Attributes 1 X Y Z Coordinates Center 2 R Q38250246 . . .
OR