1. Defi ne a class Student. Inherit this class into MCAStudent and NonMCAStudent. Also inherit it into Local and NonLocal students. Multiple inherit LocalMCAStudent from Local and MCAStudent. Defi ne fi ve instances of LocalMCAStudent with a constructor, assuming that all classes have a constructor.
2. Define the Time class described in Chapter 9. Inherit Indian Standard Time (IST) and Greenwich Meridian Time (GMT) from it. Write routines that convert from one type of time to another (IST and GMT).
3. Defi ne a class Stack. Inherit it into VariableStack. Now, inherit this class into SystemVariableStack and UserVariableStack. Provide constructors and destructors for all the classes.