0

# Sum of digit

e.g. input 789 output 7+8+9=24

1 Answer

+ 5

https://code.sololearn.com/chX0JM4Xq4P8/?ref=app
Try converting it to C++

0

e.g. input 789 output 7+8+9=24

1 Answer

+ 5

https://code.sololearn.com/chX0JM4Xq4P8/?ref=app
Try converting it to C++