Apr-08-2017, 05:47 AM
hello:)
in my home work I need to write a code that sum the digits of number.
for example if the original number is 563 the function will return- 5 (5+6+3=14 4+1=5)
can you help me in this question?
thank you :)
in my home work I need to write a code that sum the digits of number.
for example if the original number is 563 the function will return- 5 (5+6+3=14 4+1=5)
can you help me in this question?
thank you :)