The sum of all the digits used to write the whole numbers 10 through 13 is 1+0+1+1+1+2+1+3 = 10. What is the sum of all the digits used to write the whole numbers 100 through 200, inclusive?
1 + 0 + 0 + 1 + 0 + 1 +...................+ 1 + 9 + 9 + 2 + 0 + 0 =1002 sum of all digits between 100 and 200.