Answer-
The printer used 642 digits to print all the pages in the book.
Solution-
There are 250 pages numbered starting from 1 to 250.
The total number of digits would be the sum of digits of all single digits from 1 to 9, all double digits number from 10 to 99, and all triple digits number from 100 to 250.
There are 9 single digit numbers from 0 to 9, 90 double digit numbers from 10 to 99, and 151 triple digit numbers from 100 to 250.
So,
![\text{Total digits}=(1* 9)+(2* 90)+(3* 151)\\\\=9+180+453\\\\=642](https://img.qammunity.org/2019/formulas/mathematics/middle-school/8f7uv5j28ru538nc1eehlty4bavm4vd4nh.png)
Therefore, the printer used 642 digits to print all the pages in the book.