Topic: Language Problem / Level: beginner

Problem: Write a program to calculate the sum of all digits in an integer.

Run the code to see the output here...