【例9.1】输出字符三角形
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
Given a character, construct an isosceles triangle with a base length of 5 characters and a height of 3 characters using that character.
Input Format
Input consists of a single character.
Output Format
Output the isosceles triangle constructed with the given character, with a base length of 5 characters and a height of 3 characters.
Sample
* *
***
*****
20230913B班作业(1)
- Status
- Done
- Problem
- 5
- Open Since
- 2025-9-13 0:00
- Deadline
- 2025-9-21 23:59
- Extension
- 24 hour(s)