R1.4 Remove book
To remove a book from the system, the user needs to provide the ID of the book. If the
book is found and is available, the system displays the book details and prompts for user’s
confirmation to delete. If the user confirms, then the book is removed from the book list
maintained in the system (No need to update the book list file). Otherwise, no book is
removed.
If the book ID is not found, or the book is not available (i.e. someone has borrowed it),
then appropriate message should be displayed to the user. In this case, no book should be
removed.
After the “Remove book” process is done, the system displays the “Manage Books” menu.
give me a C++ code for this Write your response using less than 150 words.
user