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

PROGRAMMING:Character triangle

Luz5年前 (2021-05-10)题库405
###Task description
Given a character, use it to construct an isosceles triangle with 5 characters at the bottom and 3 characters at the height.
###Input format:
The input has only one line and contains one character.
###Output format:
The isosceles triangle formed by this character is 5 characters long at the bottom and 3 characters high.
###Input example:
```in
*
```
###Output example:
```out
*
***

```
###Tips
Note: this topic is selected from openjudge website http://noi.openjudge.cn/ch0101/08/ 。< br>





answer:If there is no answer, please comment