/**
 * A librarian wants to remove all the books in stock from the library's inventory map.
 *
 * @param books A map containing book titles as keys and their corresponding stock count as values.
 * @return A new map with all the books in stock removed.
 */
fun removeBooksInStock(books: MutableMap<String, Int>): MutableMap<String, Int> {

    // Loop through the books map
    for ((title, stock) in books.entries) {
        // Check if the stock count is greater than 0
        if (stock > 0) {
            // Remove the book from the library's inventory
            books[title] = 0
        }
    }
    return books
}
/**
 * A librarian wants to remove all the books in stock from the library's inventory map.
 *
 * @param books A map containing book titles as keys and their corresponding stock count as values.
 * @return A new map with all the books in stock removed.
 */
fun removeBooksInStock(books: MutableMap<String, Int>): MutableMap<String, Int> {
/**
 * A librarian wants to remove all the books in stock from the library's inventory map.
 *
 * @param books A map containing book titles as keys and their corresponding stock count as values.
 * @return A new map with all the books in stock removed.
 */
fun removeBooksInStock(books: MutableMap<String, Int>): MutableMap<String, Int> {

    // Loop through the books map
    for ((title, stock) in books.entries) {
        // Check if the stock count is greater than 0
        if (stock > 0) {
            // Remove the book from the library's inventory
            books[title] = 0
        }
    }
    return books
}