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

PROGRAMMING:Output integer in reverse order by recursion

Luz5年前 (2021-05-10)题库526
This topic requires reading in a positive integer n, and then write the recursive function reverse (int n) to realize the positive integer output in reverse order.
###Input format:
The input gives a positive integer n in one line.
###Output format:
For each group of inputs, the reverse order number of n is output in a row.
###Input example:
```in
twelve thousand three hundred and forty-five
```
###Output example:
```out
fifty-four thousand three hundred and twenty-one
```







answer:If there is no answer, please comment