Problem #895 C++ using OBJECT ORIENTED PROGRAMMING

Write a C++ program to create a class called Shape with a method called getArea(). Create a derived class called Rectangle that overrides the getArea() method to calculate the area of a rectangle.

Your Solution