In a new Hostel containing 100 rooms. Simon was hired to paint the numbers 1 to 100 on the doors. How many times will Simon have to paint the number eight ?
Number 8 appears 20 times between 1 and 100 as follows:
8, 18, 28, 38, 48, 58, 68, 78, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 98 =20 such digits.