Question: c++ program note: only use inheritance and polymorphism concept Implement the following class hierarchy. Write a function calculate Area() to calculate area of each object
c++ program
note: only use inheritance and polymorphism concept

Implement the following class hierarchy. Write a function calculate Area() to calculate area of each object of any shape. And also display its output. All Formulas for Basic Shapes to calculate Area is simple that you have already learned in previous classes. Hint: Use Polymorphism Shape Triangl Squar Circle Rectang le e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
