the total number of digits used in numbering the pages of a book having 360 pages is
"total number of digits = ( no . of digits in 1 - digit page nos . + no . of digits in 2 - digit page nos . + no . of digits in 3 - digit page nos . ) = ( 1 x 9 + 2 x 90 + 3 x 261 ) = ( 9 + 180 + 783 ) = 972 . answer : a"
subtract(subtract(multiply(360, const_3), subtract(const_100, const_1)), subtract(const_10, const_1))