Question: Implement a library stock system using your singly linked list from LAB OS: Exercise #1 1. Add a book should input from user all the

 Implement a library stock system using your singly linked list from

Implement a library stock system using your singly linked list from LAB OS: 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 odd To Head). 2. Remove a book should input bookiD from user and delete it from the list using the method delete(bookio). If present 3. Show list of books should display the books in list using the method printal(). 4 Exit should close the program (running in infinite loop) using return or break statement Books in Library 1. Add a book 2 Remove a book 3. Show list of books 4 Exit Your choice? A node in this list should contain following information about books: class took public long book; public String title public String author; public int edition public String publishers public int year: public Mode next; public Modelong ID, String tit, String aut, int ed, String pub, int y) { bookID - ID: title tit; author at edition - ed; publisher - pubs yearys

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 Databases Questions!