Return sum of numbers in an integer. Ex: 123 = 1+2+3=6
int sum(int nbr){ if (nbr < 10) { return nbr; } return sum(nbr/10) + nbr % 10; }