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

PROGRAMMING:Reverse output a three digit number

Luz5年前 (2021-05-10)题库395
###Task description
Reverse output a three bit non negative integer.
###Input format:
A three digit n. if the integer is less than three digits, consider it as three digits. For example, consider 1 as 001.
###Output format:
Reverse output n.
###Input example:
```in
one hundred
```
###Output example:
```out
001
```
###Input example:
```in
forty-five
```
###Output example:
```out
five hundred and forty
```
###Input example:
```in
0
```
###Output example:
```out
000
```
###Tips
Note: this topic is selected from openjudge website http://noi.openjudge.cn/ch0103/13/







answer:If there is no answer, please comment