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

PROGRAMMING:Another upper triangle number triangle

Luz5年前 (2021-05-10)题库501
Input a positive integer n and output the upper triangular digital triangle with N layers.
###Input format:
There is only one positive integer n, 1 < = n < = 100.
###Output format:
An upper triangle of numbers, each of which occupies four character positions.
###Input example:
```in
five
```
###Output example:
```out
1 6 10 13 15
2 7 11 14
3 8 12
4 9
five
```







answer:If there is no answer, please comment