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

PROGRAMMING:Show right triangle (*)

Luz5年前 (2021-05-10)题库453
Please write a program to display right triangle.
####Input format
> $$n$$ $$s$$
Note: $$n $$is a positive integer, which is the height and bottom width of a right triangle$$ S $$is the symbol, which is the character of the figure.
####Output format
>A right triangle with $$n $$rows made up of $$s $(see output example)
####Input sample
```in
5 $
```
####Output sample
```out
$
$$
$$$
$$$$
$$$$$
```







answer:If there is no answer, please comment