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

PROGRAMMING:Output n-line character diamond

Luz5年前 (2021-05-10)题库418
Please program to input an odd number n (n < 100) and a character c, and output n lines of diamond pattern composed of character C.
###Input example:
```in
13 ?
```
###Output example:
```out
?
???
?????
???????
?????????
???????????
?????????????
???????????
?????????
???????
?????
???
?
```







answer:If there is no answer, please comment