I am not able to implement arrays please help asap

I have a array with names of books. I want to take input from user and compare that input with the array and print all the books that contains the similar word that the user typed. I am not able to do this.