C++ program that finds the sum of the digits in a number