Question: Problem 2 : Inventory Management System Write a program to manage an inventory of items in a store. Create a function add _ item (
Problem : Inventory Management System
Write a program to manage an inventory of items in a store.
Create a function additeminventory item that adds an item to a list of inventory items.
Create another function removeiteminventory item that removes an item from the inventory if it exists.
Use a loop and a decision structure to display a menu:
Option : Add an itemOption : Remove an itemOption : Display all itemsOption : Exit
The program should keep looping until the user selects Exit
Menu:
Add an item
Remove an item
Display all items
Exit
Enter an option:
Enter item name: Apples
Inventory: Apples
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
