Question
In Python, I want you to imagine you own a warehouse Design a menu driven program that manages your inventory The program will end only
In Python,
-
I want you to imagine you own a warehouse
-
Design a menu driven program that manages your inventory
-
The program will end only when the user selects a menu option to end
-
This means input validation and/or error handling
-
I should not be able to easily break your program
-
Ex: Entering a letter instead of a number
-
-
-
Inventory will be saved in a "database" (make a file to read/write to)
-
Min required data: Item name, price, quantity on hand
-
HINT: start with at least 1 item in your database, it may make this easier
-
-
Your program should be able to display current inventory levels
-
Your program should be able to accept new inventory
-
User should at least enter the min required data for the database
-
After a user enters valid data, the data should be saved to the database
-
-
Your program should be able to remove inventory
-
User should be able to enter an item to remove from the database
-
After a user enters valid data, the data should be saved to the database
-
-
Break your program out into functions as appropriate (minimum of 3)
-
Error handling/Input validation is required
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