I\'m trying to learn c++ on my own and I\'ve hit a bit of a road block. The problem is I need to take an integer,split it into its digits and get the sum of the digits and
Being a sum does not really matter the order, but the logic you are using splits it
from the least significant digit to the most significant ( and is the easiest way).