A number is divisible by 10 only if the last digit is a 0. Numbers are divisible
by 9 if the sum of all the individual digits is evenly divisible by 9. For example,
the last sum of the digits of the number 3627 is 18, which
is evenly divisible by 9 so 3627 is evenly divisible by 9.