Last Updated: 9 Feb, 2017

Pattern: Triangle of numbers

Moderate
Asked in companies
DunzoHCL TechnologiesUnthinkable Solutions

Problem statement

Print the following pattern for the given number of rows.

Pattern for N = 4


The dots represent spaces.



Input format :
Integer N (Total no. of rows)
Output format :
Pattern in N lines
Constraints :
0 <= N <= 50