A printer numbers the pages of a book starting with 1 and uses 3189 digits in all. How many pages does the book have ?  Choose the correct choice:
A) 1000
B) 1074
C) 1075
D) 1080
E) 1090
No.of digits in 1-digit page nos=1*9= 
<gadget id="calculator">1*9</gadget>
<output>9</output>
9   " " 2-digit "=2*90= 
<gadget id="calculator">2*90</gadget>
<output>180</output>
180   3-digit "=3*900= 
<gadget id="calculator">3*900</gadget>
<output>2_700</output>
2700   " " 4-digit "=3189-(9+180+2700)= 
<gadget id="calculator">3189-(9+180+2700)</gadget>
<output>300</output>
300   therefore no.of 4-digit page no's=300/4= 
<gadget id="calculator">300/4</gadget>
<output>75</output>
75   total no.of pages=999+75= 
<gadget id="calculator">999+75</gadget>
<output>1_074</output>
1074   ANSWER:1074
<result>B</result>
A printer numbers the pages of a book starting with 1 and uses 3189 digits in all. How many pages does the book have ?