Shape Dimension Calculator
This program focuses on polymorphism concept along with abstract classes, early binding, and late binding. It creates three objects of each derived class and calls the member functions using early binding. Then it creates a pointer array of an abstract base class and uses the pointers to call member functions of each derived class. I tested my program with different inputs and it worked fine in all cases. I used early and late binding to see program output and it remained consistent with both methods.