Solid Class
Explore how to implement a Solid class in C++ that calculates surface area and volume for multiple solids like cylinders, cubes, cones, and spheres. Understand enum usage for solid types and apply standard geometric formulas in your code to process different solid dimensions efficiently.
We'll cover the following...
We'll cover the following...
Problem
Write a program to create a class called Solid that can calculate the surface area and volume of a solid. The class should also have a provision to accept ...
...