Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python Program: Develop a program that will keep track of inventory for a local retail store. Fortunately, the store only offers five items for sale

Python Program: Develop a program that will keep track of inventory for a local retail store. Fortunately, the store only offers five items for sale (at the current time). The data to include is as follows: Beginning Inventory this data can be hard coded in the program. Item # Description # in Inventory 111 Jacket 2300 222 Blazer 1000 333 Sweater 500 444 Hoodie 340 555 Make one up 400 During the day, the following transactions occur: ALL transactions are entered by a user. The user should run the program one time and enter all of the transactions (and a few more if they would like!) below. Keep in mind that not all users type 100% accurately! You decide how to have your user stop entering data. Item# # Sold 111 1200 222 300 333 250 444 270 555 300 Item# # Added (Received a shipment from vendor) 111 1100 222 400 333 50 444 250 555 300 After all of the transactions have been entered, print the item #, description, and end of the day inventory quantity. At the end of the report, provide a grand total of ALL items sold and a grand total of all items delivered. The better programs will only process data for shipments and sales if the code is correct and allow users to enter both upper case and lower case data. Your program should be able to process more transactions than the ones included above. For this program, you do not have to worry about it if your inventory falls into negative numbers. That data will be used by the procurement department to purchase any items needed to fulfill the outstanding orders!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What defines a company's profitability?

Answered: 1 week ago