Object Oriented Programming Practice (Intake 41)
Write a program that create a base class called input.This class has two int type variable called length and width. It has two virtual function called area() and perimeter(). Create two derived class called square and triangle that inherit input class. Have the derived class override those two virtual function so that it displays area and perimeter of the corresponding derived classes.