<=Back
Write a C++ program to determine and output the area of a Tria (with 12 and 8 as the base and height respectively) and Rect (with also 12 and 8 as the base (length) and height (width) respectively). The program should use a virtual base class named- Shapes, polymorphic function named Area and appropriate pointers
 Viewed: 510 times
Share in: