Rectangular Triangle 2
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Create a program that outputs an inverted right-angled triangle composed of asterisks, where both legs have a length of n
.
Input
You will receive an integer n
(2 ≤ n ≤ 50
), representing the length of the triangle's legs.
Output
Display an inverted right-angled triangle of asterisks with the specified dimensions.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 73%