Medium
Right-Angled Triangle
Read n and print a right-angled triangle of stars: line i has i stars, for i = 1 to n.
Input
One integer n ≥ 1.
Output
n lines.
Sample 1
Input
4
Output
* ** *** ****
Sample 2
Input
1
Output
*
Output appears hereOne integer n ≥ 1.
n lines.
4
* ** *** ****
1
*
Output appears here