sum of digits Algorithm

In mathematics, the digit sum of a natural number in a given number base is the sum of all its digits.

sum of digits source code, pseudocode and analysis

COMING SOON!