Homework Statement
This question has two parts:
a) How many integers are there between 100 and 1,000,000 with the property that the sum of their digits is equal to 6?
b) How many integers are there between 100 and 1,000,000 with the property that the sum of their digits is less than 6...