A Library shop maintains the inventory of books that are being sold at the shop. The list includes details such as author,title,price,publisher and stock position
Whenever a customer wants a book, the sales person inputs the title and author and the system searches the list and displays whether it is available, the total cost of the requested copies is displayed; otherwise the message "Required copies not in stock" is displayed.
Design a system using a class called books with suitable member functions and constructors Use New operator in constructors to allocate memory space required.
Write a program which suites above requirements.