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

PROGRAMMING:sum of digits of a number

Luz4年前 (2021-05-10)题库456
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

发表评论

访客

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