HackerRank Sum of Digits of a Five Digit Number problem solution in c - TheCScience