Get the Titles!
The Get the Titles! problem is an interesting problem where we have to get the title from a list of books. This is a good exercise for the implementation of arrays and objects.
Given an array of objects that represent books with an author.
- [ ] Write a program to create a function
getTheTitlesthat takes the array and returns the array of title and print its value in the