Question: Important: each command requires a separate function. Create a separate function for each command Program creating book-store database. Each command requires separate function. struct Book

 Important: each command requires a separate function. Create a separate function

for each command Program creating book-store database. Each command requires separate function.

Important: each command requires a separate function. Create a separate function for each command

Program creating book-store database. Each command requires separate function. struct Book string ISBN; string title; int quantity, int edition; double pricc; Program needs to read and process a transaction file storeTrans.txt". This file contains several commands such as: display, add, scarchBook, delcte, updatePrice, updateQuantity, sort and save. Each command requires new linc Example of display: ISBN Title Edition Quantity Price 123456789 C++ForDummies 3 5 150.00 Add bookISBN bookTitle bookQuantity bookPricc . .Adds new book record to the databasc Should read information from the transaction file If book docsn't exist: add new entry Should display message that the book was successfully added . Should check for duplicate book entries (same ISBN) use push back function to add to the end of vector 123456789 successfully added to the database " If book alrcady exists, do not add. Display message . 123456789 already exists. The number ofcopies is now 5 .ScarchBook bookTitle . Scarches and returms all books with matching title. Exact title OR kcyword found Display message ."Scarching for book 123456789 C++ForDummics 5" .If no cntry found "Scarching for book Sorry, no matching book exists

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!