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

PROGRAMMING:Yanghui triangle

Luz5年前 (2021-05-10)题库407
Print n lines of Yanghui triangle, n < 10.
###Input format:
Directly enter a positive integer n less than 10.
###Output format:
Output n rows of Yanghui triangle, each data output occupies 4 columns.
###Input example:
```in
five
```
###Output example:
```out
one
1 1
1 2 1
1 3 3 1
1 4 6 4 1
```






answer:If there is no answer, please comment