Multiple inheritances C++ program to display pattern like the right angle

Write a program in C++ to make such a pattern like the right angle triangle with a number that will repeat a number in a row using the multiple inheritances in object-oriented programming.

pattern of right angle triangle C++

 

Add a Comment