Write a program that reads several numbers and prints the sum of the digits of each one.
Input consists of a sequence of natural numbers.
For every number, print the sum of its digits following the format of the example.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T10:19:15.716Z
© Jutge.org, 2006–2026.
https://jutge.org