#B2005. Construct an Isosceles Character Triangle
Construct an Isosceles Character Triangle
Construct an Isosceles Character Triangle
Given a character, construct an isosceles character triangle with a base length of $$5$$ and a height of $$3$$. The triangle is built such that the first row contains $$1$$ character, the second row contains $$3$$ characters, and the third row contains $$5$$ characters, all centered appropriately.
inputFormat
Input is a single character.
outputFormat
Output the isosceles triangle constructed from the given character. The first line should begin with 2 spaces followed by the character; the second line should begin with 1 space and then 3 repetitions of the character; the third line should print the character 5 times with no leading spaces.
sample
*
*
*****
</p>