Question: retail store utilizes a computerized system to track its product inventory, includingdetails such as item name, category, price, manufacturer, and current stock level.When a customer

retail store utilizes a computerized system to track its product inventory, includingdetails such as item name, category, price, manufacturer, and current stock level.When a customer requests a specific product, the store manager inputs the item nameand category into the system. The system then verifies whether the product is listedin the inventory. If the product is not found, the system displays an appropriatemessage. If the product is listed, the system provides its details and prompts the storemanager to input the desired quantity. If the requested quantity is available, thesystem calculates the total cost of the product; otherwise, it alerts the store managerthat the requested quantity is out of stock.Requirements:1. Implement a structure named Product with the following attributes: ItemID (integer) ItemName (string) Quantity in Stock (integer) Price per Unit (float) Category (String) Manufacturer (String)2. Define the functions to operate on the inventory to add the product: This function should prompt the user to input details for a new productand add it to the array of products. Update the product stock accordingly.3. Define a function to display the details of all items in the inventory.4. Write a function to update the quantity in stock for the specified product. This function should prompt the user to enter an itemID and the quantityto update in stock.5. Define a function that should calculate and return the total value of the entireinventory (sum of quantity * price for each product).6. Write a main () function to test your implementation. The main function shouldprovide a menu-driven interface allowing users to: Add a new product to the inventory. Display all products in the inventory. Update the quantity in stock for a specific product. Calculate and display the total value of the inventory. Exit the program.The design must include any one validation metric for user inputs.Ensure proper indentation and comments in your code to enhance readability and understanding.
Also need to do the algrathim and the flowchart

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!