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

PROGRAMMING:Output rule graph 2

Luz5年前 (2021-05-10)题库429
Input a positive integer n (n > = 1), output 2 * n-1 layer diamond.
###Input format:
A positive integer n (n > = 1)
###Output format:
Output diamond of 2 * n-1 layer
###Input sample 1:
```in
three
```
###Output sample 1:
```out
*
***

***
*
```
###Input sample 2:
```in
five
```
###Output sample 2:
```out
*
***

**
****
**

***
*
```






answer:If there is no answer, please comment