/**
 * This exercise requires completing the code to search for a specific book title
 * using the 'in' operator and the correct syntax.
 *
 * @param books A list of book titles available in the library.
 * @param title The title of the book to search for.
 * @return True if the book title is found in the bookshelf, false otherwise.
 */
fun searchBookshelf(books: List<String>, title: String): Boolean {

    // Check if the given title is present in the list of books using the 'in' operator
    // Hint: You need to have a loop to iterate over the book titles, and use an if statement to check if the current title matches the given title.
    // Return true if the book title is found, otherwise return false
    return title in books
}
/**
 * This exercise requires completing the code to search for a specific book title
 * using the 'in' operator and the correct syntax.
 *
 * @param books A list of book titles available in the library.
 * @param title The title of the book to search for.
 * @return True if the book title is found in the bookshelf, false otherwise.
 */
fun searchBookshelf(books: List<String>, title: String): Boolean {
/**
 * This exercise requires completing the code to search for a specific book title
 * using the 'in' operator and the correct syntax.
 *
 * @param books A list of book titles available in the library.
 * @param title The title of the book to search for.
 * @return True if the book title is found in the bookshelf, false otherwise.
 */
fun searchBookshelf(books: List<String>, title: String): Boolean {

    // Check if the given title is present in the list of books using the 'in' operator
    // Hint: You need to have a loop to iterate over the book titles, and use an if statement to check if the current title matches the given title.
    // Return true if the book title is found, otherwise return false
    return title in books
}