Page 1 of 1

in c++ Create a program using classes to calculate the the area and volume of a sphere. 1. Create a class with public va

Posted: Sun May 15, 2022 7:15 pm
by answerhappygod
in c++
Create a program using classes to calculate the the area and volume of a sphere.
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.