-->
当前位置:首页 > 题库

PROGRAMMING:Isosceles triangle (2) (*)

Luz5年前 (2021-05-10)题库532
Please write a program to input the height of isosceles triangle and output the isosceles triangle composed of asterisk.
####Input format
>Height (positive integer)
####Output format
>Isosceles triangle composed of asterisks (see output example)
####Input sample
```in
five
```
####Output sample
```out
*
* *
* * *
* * * *
* * * * *
```
---
Tip: there is a space between the asterisks, and there is no extra space at the end of the line.







answer:If there is no answer, please comment