What is the sum of all digits which appear in all the integers from 10 to 100 ?
a(a) 855
b(b) 856Correct answer
c(c) 910
d(d) 911
Solution.
Answer: (b) 856
In the 90 two-digit integers from 10 to 99, each tens digit 1,2,…,9 appears 10 times (contributing 10×45=450) and each units digit 0,1,…,9 appears 9 times (contributing 9×45=405).
Adding the digits of 100 (1+0+0=1) gives a total digit sum of 450+405+1=856.