Question: Write a C++ program to implement a singly linked list of books. The book details should include the following: title, author, and ISBN. The program

Write a C++ program to implement a singly linked list of books. The book details should include the following: title, author, and ISBN. The program should include the following functions:

  • addBook: This is a function to add a new book to the list.
  • isInList: This is a function to check if a book exists in the list.
  • compareLists: This is a function to check whether two lists have the same books.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!