Question: 1 2 pts ) Use the class definitions Shape, TwoDimensional, and Circle discussed in Module 9 / Lesson 2 to design new derivate classes named

12 pts) Use the class definitions Shape, TwoDimensional, and Circle discussed in Module 9/Lesson 2 to design new derivate classes named Square, RightTriangle, Parallelogram, and Trapezoid geometric figures where the base class is TwoDimmensional. Use the following formulas to solve the activity:
(Dugopolski,2013) Geometry Figures
(3 pts.).Design a class named ThreeDimensional with two attributes:
Declare one attribute named volume of floating-point data type.
Declare one attribute named surfaceArea floating-point data
(9 pts.) Design new derivate classes for each geometric figure named RightCircularCone, Right CircularCylinder, and Sphere, where the base class is ThreeDimensional.
Define Constructors, Destructor, Copy Constructor, mutators, and accessor functions in your code.
Overload stream operators (>>,) in your classes.
(10 pts.) The solution must contain the following:
Source code.
Output program. Show each case menu.
Table description.
Access and Inherited descriptive table.
UML diagram.
1 2 pts ) Use the class definitions Shape,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!