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

PROGRAMMING:Output the digits of an integer

Luz5年前 (2021-05-10)题库461
Enter a positive integer repeat (0 < repeat < 10) and perform the following operations:
Input an integer and output its digits bit by bit from the high bit.
Output statement: printf ("% - 2D", digital), There is no space after the last value to wrap
Example: the description is in parentheses, and there is no need to input or output
###Input example:
```in
3 (repeat=3)
one hundred and twenty-three thousand four hundred and fifty-six
-600
eight
```
###Output example:
```out
1 2 3 4 5 6
6 0 0
eight
```






answer:If there is no answer, please comment