// CS304P Lab 7 Problem KST Learning #include #include using namespace std; class Planet { public: Planet() { cout << "Planet Constructor is Called"; } }; class Inner_Planet: public Planet { public: Inner_Planet() { cout << "\nInner Planet Constructor is Called"; } }; class Outer_Planet: public Planet { public: Outer_Planet() { cout << "\nOuter Planet Constructor is Called"; } }; main() { Inner_Planet IP; cout << "\n\n***************************************\n\n"; Outer_Planet OP; getch(); return 0; }