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

PROGRAMMING:Decimal to octal

Luz5年前 (2021-05-10)题库450
###Task description
```
Program output decimal non negative integer into octal number sequence( You can't use recursive function. Of course, you haven't learned the function yet. Please use loop to solve it.)
```
###Input format:
```
There are several non negative integers, each of which represents a group of data and is not more than 1073741824 of the 10th power of 8. The data are separated by spaces or carriage returns.
```
###Output format:
```
The octal sequence of each group of data is output in turn, and each output result occupies a single line.
```
###Input example:
```in
25 36 0 1 1024 1073741824
```
###Output example:
```out
thirty-one
forty-four
0
one
two thousand
ten billion
```






answer:If there is no answer, please comment