This is yet another program to answer a problem in a book called algorithms.Here's the problem: Pages of a book are numbered sequentially starting with 1. If the total number of decimal digits used is equal to 1578, how many pages are there in the book?