Answer:
There are actually 20 occurrences of the digit "2" in the numbers {1,2,⋯,100}, though there are 19 numbers in the same range where the digit "2" appears.
Explanation:
Hope this will be helpful for you.
9.5m questions
12.2m answers