draw triangle


Submit solution

Points: 50 (partial)
Time limit: 1.0s
Memory limit: 64M

Authors:
Problem type

題目說明

請輸入一整數後,輸出相對應高的直角三角形(用*)

輸入值均>0

輸入

整數

輸出

相對應高的直角三角形*

sample input1

3

sample output1

*
**
***

sample input2

5

sample output2

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

Comments

There are no comments at the moment.