当前位置:首页 > 题库 > 正文内容

PROGRAMMING:sum of digits of a number

Luz9个月前 (05-10)题库93
Write a program in C to find the sum of digits of a number using recursion.
### Input:
Input one positive integer.
### Output:
Print the sum of digits of the input number.
### Input sample:
```in
eighty-seven
```
### Output sample:
```out
fifteen
```







answer:If there is no answer, please comment

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。