Sum of Digits

Write a program to calculate the sum of digits of a number.

Scroll to Top