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

PROGRAMMING:Print graphics

Luz5年前 (2021-05-10)题库510
Enter the number of lines to print, and then print the specified pattern with spaces and asterisks.
###Input format:
Enter the number of rows.
###Output format:
The last line of the graph is the top grid. See the output example for the detailed pattern.
###Input example:
Here is a set of inputs. For example:
```in
two
```
###Output example:
The corresponding output is given here. For example:
```out
* *
****
```
###Input example:
Here is a set of inputs. For example:
```in
five
```
###Output example:
The corresponding output is given here. For example:
```out
* *
** **
*** ***
**** ****

```






answer:If there is no answer, please comment