C++ program of Constructor Destructor to display a pattern for a number of rows

Write a C++ program of the constructor destructor to display a pattern for a number of rows using a number which will start with the number 1 and the first and the last number of each row will be 1. The pattern is as follows:

C++ to display a pattern for a number of rows

 

Add a Comment