Last Updated: 5 Dec, 2018

Triangle Star Pattern

Easy
Asked in companies
Incedo Inc.Unthinkable SolutionsOodles Technologies Pvt Ltd

Problem statement

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

Pattern for N = 4
*
**
***
****
Note : There are no spaces between the stars (*).
Input format :
Integer N (Total no. of rows)
Output format :
Pattern in N lines
Constraints
0 <= N <= 50