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

PROGRAMMING:Print digital diamond

Luz5年前 (2021-05-10)题库430
This topic requires reading in a positive integer n (n < 10), and then output the number diamond.
###Input format:
Enter a positive integer n (n < 10).
###Output format:
For each integer n, output the digital diamond.
###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
five hundred and fifty-five million five hundred and fifty-five thousand five hundred and fifty-five
four million four hundred and forty-four thousand four hundred and forty-four
thirty-three thousand three hundred and thirty-three
two hundred and twenty-two
one
```







answer:If there is no answer, please comment