Sum of Digits
Description:
Given a positive integer, find the sum of its constituent digits.
Input sample:
The first argument will be a text file containing positive integers, one per line. e.g.
23
496
Output sample:
Print to stdout or log, the sum of the numbers that make up the integer, one per line. e.g.
5
19