Topic: Language Problem / Level: intermediate

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

Run the code to see the output here...