Question: I am using classes in C++. 1. Write a class Sphere with the following properties Private atiribuwes: (1) X,Y,Zcoordinates of the center 2) Radius Accessor

I am using classes in C++.
1. Write a class Sphere with the following properties Private atiribuwes: (1) X,Y,Zcoordinates 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 sur area of a sphere. face For a sphere, volume v3 surface area 4IIr write a main program to test the Sphere class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
