1971: Output pattern

内存限制:128 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:26 解决:17

题目描述

Please output the pattern as shown in the figure below:


输入

The input has several lines, and each line has a non-negative integer n, which means that the graph to be output has n lines. n=0 means end. (N<=30) 

输出

Each n outputs a graph with n rows and n columns composed of "*".

样例输入 复制

2
5
0

样例输出 复制

*
**
*
**
***
****
*****