a base class Shape .
this Class to store two double type values that could be used to
and Rectangle from the base Class Shape.
member functions get_data () to initialize the data members in the
base class and add another member function display_area () to compute
a C++ program to implement the class that accepts dimensions and
calculate area of triangle and
the concept of function Polymorphism.
get_data() and display_area() will be overloaded functions)
Answer to : Question 139088