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

PROGRAMMING:Character graphics

Luz5年前 (2021-05-10)题库515
###Task description
```
Input positive integer n and character c, output (2 * n-1) lines of the following regular character graphics, for example, when input: "4 *", output:
*
***
*
***
*
***
*
```
###Input format:
```
Several lines, each line a group of data, for an integer and a character, between only a space separation.
```
###Output format:
```
Output each group of character graphics as required, and there is a blank line between each group of output.
```
###Input example:
```in
1 -
2 +
3 #
4 %
```
###Output example:
```out
-
+
+++
+
#
###
#####
###
#
%
%%%
%%%%%
%%%%%%%
%%%%%
%%%
%
```






answer:If there is no answer, please comment