Write a program which should handle books information for a book shop. It should be able to handle atleast 100 records. Your program should store following information against a book.Book Id (you may...

Write a program which should handle books information for a book shop. It should be able to handle atleast 100 records. Your program should store following information against a book.Book Id (you may use index number as book ID)Book CodeBook NameAuthor NamePublish DatePriceNo of copies in handNo of Copies soldInitialize 10 Books and initialize remaining with 0 and spaces.Create a menu, as given below, which should use above information to perform selected action from the given menu on the screen1-Add book (One book will be added. User will enter book id i.e. index number Record will be placed if code at that index is 0)2- Display book (Display Books in tabular format with nonzero codes only)3-Delete book (Place an empty record with 0 code and spaces at the selected index)4- Search book2 / 25-Sale book (First locate the book Id and check if code is not 0 then update No of Copies in hand and No of Copies sold accordingly)6- Exit

May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here