I have been stuck on this problem for hours, does anyone have any insight as to how to do this.
Write a C++ program to print the following output.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
You can use nested 2 loops, one is to print all the columns of a row, the one outside of it will print all rows.