Eric's notebook has 30 pages. he wants to writes a number on each page. how many digits will he write when he numbers all the pages in the notebook?
a. 9
b. 29
c. 49
d. 51