Multiple inheritance C++ program to display pyramid pattern using the class objects

Develop a program in C++ to display the pattern like a pyramid using an asterisk * and each row contains an odd number of asterisks by using the multiple inheritances.

logic of C++ program to print pyramid pattern of numbers

FAQ

Pattern programs in C++ using for loop and multiple inheritances in Object-Oriented Programming (OOP).
C++ pattern program examples by using the multiple inheritances in Object-Oriented Programming (OOP).
C++ program to print the pyramid by using the multiple inheritances in Object-Oriented Programming (OOP).
C++ program to print pyramid pattern of asterisks by using the multiple inheritances in Object-Oriented Programming (OOP).
Pattern program C++  by using the multiple inheritances in Object-Oriented Programming (OOP).
C++ Pattern Examples by using the multiple inheritances in Object-Oriented Programming (OOP).