Number of books = 820
Number of books on each shelf = 34
Number of shelves = 820 ÷ 34 = 24.12
⇒ 25 (since shelves must be in whole number)
------------------------------------------------------------------------------------------------
Answer: He needs to put up 25 shelves.
------------------------------------------------------------------------------------------------