c++ only Create a program using classes to calculate the the area and volume of a sphere. Program A. 1. Create a class w
Posted: Sun May 15, 2022 8:16 pm
c++ only
Create a program using classes to calculate the the area and volume of a sphere.
Program A.
1. Create a class with public variables or functions.
2. You must use a constructor and overloading constructor functions.
2. Allow the user to enter in data to compute the area and volume of a sphere.
3. Display what the user has entered and the calculated values for the area and volume of a sphere.
Create a program using classes to calculate the the area and volume of a sphere.
Program A.
1. Create a class with public variables or functions.
2. You must use a constructor and overloading constructor functions.
2. Allow the user to enter in data to compute the area and volume of a sphere.
3. Display what the user has entered and the calculated values for the area and volume of a sphere.