Last Updated: 5 Dec, 2018

Triangle Number Pattern

Easy
Asked in company
Newgen Software

Problem statement

Print the following pattern for the given N number of rows.

Pattern for N = 4
1
22
333
4444
Input format :
Integer N (Total no. of rows)
Output format :
Pattern in N lines
Constraints
0 <= N <= 50