CS Electrical And Electronics
@cselectricalandelectronics

A bookshop 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 or not. If it is not, an appropriate message is displayed. If it is, then the system displays the book details and requests for the number of copies required. If the requested copies are available, the total cost of the required copies is displayed, otherwise the message "Sorry! These many copies are not in stock" is displayed. Design a system using a class called stock with suitable member functions and constructors.

All QuestionsCategory: Cpp LanguageA bookshop 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 or not. If it is not, an appropriate message is displayed. If it is, then the system displays the book details and requests for the number of copies required. If the requested copies are available, the total cost of the required copies is displayed, otherwise the message "Sorry! These many copies are not in stock" is displayed. Design a system using a class called stock with suitable member functions and constructors.
CS Electrical And Electronics Staff asked 4 years ago

info