+ 2
write a code that sum the digts of an integer
Example 1: Input=25 Output=7 Example 2: Input=99 Output=18
4 Answers
+ 4
https://code.sololearn.com/c62Gr816cGci/?ref=app
Sum of digits - java program
Example 1: Input=25 Output=7 Example 2: Input=99 Output=18