Problems
534 - Make Triangle 1
SUBMIT PROBLEM

Make Triangle 1

Time Limit: 1 sec

 

The Problem

Make a right angle triangle which legs length are n. See the example

if n = 3

*

**

***

if n = 4

*

**

***

****

Here create right angle (90 degree angle) in bottom left corner.

 

The Input

There are several lines of input in the input file. Each line contains an integer n (1<=n<=50). Input is terminated by EOF.

 

The Output

For each line of input you have to make right angle triangle see the sample input and output for details.

 

Sample Input

3

5

 

Sample Output

*

**

***

*

**

***

****

*****

 

 

 

 

Problem Setter: Shahin ShamS