Write a C++ program that declares the following data structure:
enum Object
{
Square,
Cube,
Sphere
};
The program should prompt the user to enter the object index, using the switch control structure, the program should then calculate and output the area of the square and the volume of the cube and sphere.
 Viewed: 493 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!