You are viewing a single comment's thread. Return to all comments →
Here is your answer-
class Equilateral : public Isosceles{ public: void equilateral(){ cout << "I am an equilateral triangle\n" ; } };
Seems like cookies are disabled on this browser, please enable them to open this website
Multi Level Inheritance
You are viewing a single comment's thread. Return to all comments →
Here is your answer-
class Equilateral : public Isosceles{ public: void equilateral(){ cout << "I am an equilateral triangle\n" ; } };