single inheritance C++ program to display pattern like the right angle

By: Prof. Fazal Rehman Shamil

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 single inheritance in object-oriented programming.

pattern of right angle triangle C++