Multiple inheritance C++ program pattern like a pyramid repeat

Write a program in C++ to make such a pattern like a pyramid with a number that will repeat the number in the same row using Multiple inheritances in OOP.

Print pyramid pattern using do while loop c++


Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.