Question: Case Study: Inventory Management System ( OOP and Sets ) You are a software developer hired by a small store to create an Inventory Management
Case Study: Inventory Management System OOP and Sets
You are a software developer hired by a small store to create an Inventory Management System using ObjectOriented Programming OOP in Python. The system should allow the store to manage its inventory, including adding new items, updating the inventory, searching for items, and showing reports.
Requirements:
Create an item class with the following attributes:
itemName
price
quantity integer
Implement the following in the class:
Create a constructor to initialize the values of an item.
Create an update method to modify the quantity of item in stock.
Create a discount method to reduce the price of an item by a certain amount.
Create a display method to display all the information of the item
Create a set of multiple items objects
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
