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

PROGRAMMING:Output lower triangular matrix

Luz5年前 (2021-05-10)题库418
Program input positive integer n (n < 100), output a n-order lower triangular matrix, output format, please refer to the example.
###Input format:
A positive integer less than 100.
###Output format:
Each number is right aligned in 3 columns.
###Input example:
```in
ten
```
###Output example:
```out
one
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
1 2 3 4 5 6 7
1 2 3 4 5 6 7 8
one two three four five six seven eight nine
1 2 3 4 5 6 7 8 9 10
```







answer:If there is no answer, please comment