pattern 1

4

1 votes
Easy
Problem

given a number n print the following pattern

INPUT:

1st line has an integer t denoting number of test cases

next t lines we have a single integer n

OUTPUT:

print the following pattern as shown in next line.

Sample Input
2
3
5
Sample Output
*
**
***
*
**
***
****
*****
Time Limit: 5
Memory Limit: 256
Source Limit:
Contributers:
Editor Image

?