A bookshop (PRIMER BOOKSHOP) wants to maintain 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 personnel 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 it is requested, copies of the book details and requests for the number of copies required are available, the total cost of the requested copies is displayed and your system needs to update the database. - Sales personnel, from time to time are allowed to update the latest stock and price to the created database. Design a system using a C++ called books inventory with suitable member functions, array, data structure, and pointers. Use suitable pointers, arrays, and data structures to allocate and handle your memory space required dynamically. Users can also save their searching process data which can be opened soon by a certain ID/key to index their previous searching process data.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter10: Data Analysis With Power Tools And Creating Macros
Section: Chapter Questions
Problem 3EYW
icon
Related questions
Question
100%

C++ Project ( Build the requested system 100% into a C++ environment, excluding Class framework & All defined variables must be represented as pointer type, int, char etc)
Scenario:
A bookshop (PRIMER BOOKSHOP) wants to maintain 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 personnel 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 it is requested, copies of the book details and requests for the number of copies required are available, the total cost of the requested copies is displayed and your system needs to update the database.
- Sales personnel, from time to time are allowed to update the latest stock and price to the created database.

Design a system using a C++ called books inventory with suitable member functions, array, data
structure, and pointers. Use suitable pointers, arrays, and data structures to allocate and handle your
memory space required dynamically. Users can also save their searching process data which can be
opened soon by a certain ID/key to index their previous searching process data. 

For the menu, at least you could come out with the following menu system. Subject to your
creativity, you may add as many functions as you could to ensure that your system maintains very
good interactivity. (Refer to the pictures attached)

*Help me solve this question & give good comments for every single function, loop, and statement. Thank you in advance.

MENU
1. Entry of New Book
2. Display All Available Books
3. Buy Book
4. Search For Book
5. Edit Details Of Book
6. Save your search
7. Open your previous Search
8. Help
9. Exit
Enter your Choice: 1
Enter Author Name: Test Author
Enter Title Name: Test Title
Enter Publisher Name: Test Pub 1
Enter Price: 100
Enter Stock Position: 2
Transcribed Image Text:MENU 1. Entry of New Book 2. Display All Available Books 3. Buy Book 4. Search For Book 5. Edit Details Of Book 6. Save your search 7. Open your previous Search 8. Help 9. Exit Enter your Choice: 1 Enter Author Name: Test Author Enter Title Name: Test Title Enter Publisher Name: Test Pub 1 Enter Price: 100 Enter Stock Position: 2
Expert Solution
steps

Step by step

Solved in 3 steps with 7 images

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L