Answer:
15 bookshelves
Explanation:
For max. Hope you have a lot of exp.
15 bookshelves will max out your enchanting table. The ideal position of the bookshelves is a square of 15 placed in a 5x5-block outline, with the enchantment table in the middle.