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

PROGRAMMING:Calculating the sum of digits

Luz5年前 (2021-05-10)题库612
Input an integer number, and then calculating the sum of each digit.
### Input Specification:
Input an 3-digit-integer.
### Output Specification:
Print "The sum of (the number)'s digits is (sum)".
### Sample Input:
```in
four hundred and twenty-eight
```
### Sample Output:
```out
The sum of 428's digits is 14
```







answer:If there is no answer, please comment