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

PROGRAMMING:Letter tower figure

Luz5年前 (2021-05-10)题库547
Print n-line letter tower graphics.
###Input format:
Enter a positive integer n less than 10 in one line.
###Output format:
Output n lines of letter tower graphics, requires the first line of 1 A, the second line of 3 B, and so on, and the whole isosceles triangle, the last line top grid, the end of each line has a new line, including the last line.
###Input example:
Here is a set of inputs. For example:
```in
five
```
###Output example:
The corresponding output is given here. For example:
```out
A
BBB
CCCCC
DDDDDDD
EEEEEEEEE
```







answer:If there is no answer, please comment