Question: Implement a library stock system using your singly linked list from AB05: Exercise # 1 1. Add a book should input from user all the
Implement a library stock system using your singly linked list from AB05: Exercise \# 1 1. Add a book should input from user all the required data for a book and add the book in front of linked list using the method addToHead() 2. Removo a book should input bookID from user and delete it from the list using the method delete(bookID), if present. 3. Show list of books should display the books in list using the method printAllo. 4. Exit should close the program (running in infinite loop) using return or break statement - A node in this list should contain following information about books: - Modify and use the program code in Lab 05 according to this problem. You can remove the methods which are not required to solve this problem. TWaiting Cheating in homework will resuit in zero marks.w. (same programs wil dof or] Sample run of the program Books in Library 1 Add a book 2. Remove a book 3. Show list of books 4. Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
