C++: Print pattern like following:
1
1 2
1 2 3
1 2 3 4
.
.
. . . . . . .
C++: Print pattern like following:
1
2 3
4 5 6
.
.
. . . . .
exec: Patterns