Question
NOTE : CODE IN C++ Your signicant other has had a ash of inspiration - the world needs another inventory management program! You agreed to
NOTE : CODE IN C++ Your signicant other has had a ash of inspiration - the world needs another inventory management program! You agreed to write it for them because love is indeed blind. Table 1 has the minimum elds you will need as well as the validation rules for Specication A2.
(NOTE : This is a table) Field Name:Item Description ,| Quantity at Hand ,| Retail Cost ,| Date Added to Inventory
Validation Rules: 22 characters max ,| Cannot be negative,| Automatically calculate 100% markup, |System should enter this
Table 1: Data dictionary for Inventory data structure.
REQUIRMENTS : This is a menu driven program. You can decide if it uses a numeric or alphabetic menu. Keep prompting and running until the quit option is selected.
Make you code as reliable as possible.
Make your program output easy to read.
You cannot use anything from the standard template library.
Use functions whenever possible to modularize your code. Use function prototypes and code the functions under main().
Style guide elements apply: comments, layout, Program Greeting, Source File Header, and variables etc. etc
"C" SPECIFICATION BUNDLE:
1. // Specication C1 - Dynamic Array Create an array on the heap. Increase it automatically for every item the client adds. That is, this array should be as small as possible - always.
2. // Specication C2 - Add Option Allows you to add records to the inventory data structure you created.
3. // Specication C3 - Display Option Displays all the information in your inventory data structure.
4. // Specication C4 - Main Menu Create a main menu which lists the allowable behaviors. See gure 1 for an example menu.
5. // Specication C5 - Validate Menu Print the letter grade for the gpa right next to it raw number.
"C" Bundle Menu Options. 1. Add Inventory 2. Display Inventory 3. Quit Program Figure 1: Allowable menu options for this bundle.
"B" SPECIFICATION BUNDLE:
1. // Specication B1 - OOP Code this assignment using at least one class. Put this comment above the class declaration.
2. //Specication B2 - Delete Inventory Item Allow the client to delete items in the inventory data structure. See gure 2 for the "B" menu. Dont forget to update C5 to account for this new menu option.
3. // Specication B3 - Shrink Dynamic Array Resize the dynamic array when you delete inventory.
"B" Bundle Menu Options. 1. Add Inventory 2. Delete Inventory 3. Display Inventory 4. Quit Program Figure 2: Allowable menu options for this bundle.
"A" Bundle Menu Options. 1. Add Inventory 2. Delete Inventory 3. Edit Inventory 4. Display Inventory 5. Quit Program Figure 3: Allowable menu options for this bundle.
"A" SPECIFICATION BUNDLE :
1. // Specication A1 - Edit Inventory Add the capability to edit the contents of any inventory item. Edit is different from delete. See gure 3 for the "A" menu. Dont forget to update C5 to account for this new menu option.
2. // Specication A2 - Validate Inventory Only allow data which meets the input specications in the inventory data structure
3. // Specication A3 - Logle Log all changes to the inventory data structure to a text le for archival purposes.
4. // Specication A3 - Replace A3 with one feature of your own choosing. You can code A3 as it appears if you wish and skip this.
Thanks in advance
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started