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

PROGRAMMING:Number Triangles

Luz5年前 (2021-05-10)题库473
This topic requires to read in a positive integer n (n < 10), and then output n layers of digital pyramid.
###Input format:
Enter a positive integer n (n < 10).
###Output format:
Output n layers of digital pyramid.
###Input example:
Here is a set of inputs. For example:
```in
six
```
###Output example:
The corresponding output is given here. For example:
```out
one
two hundred and twenty-two
thirty-three thousand three hundred and thirty-three
four million four hundred and forty-four thousand four hundred and forty-four
five hundred and fifty-five million five hundred and fifty-five thousand five hundred and fifty-five
sixty-six billion six hundred and sixty-six million six hundred and sixty-six thousand six hundred and sixty-six
```







answer:If there is no answer, please comment