Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please look through instructions thoroughly and complete the program fully. Inventory Control PART 1: In this project you will write a python program to keep

Please look through instructions thoroughly and complete the program fully.

image text in transcribed

image text in transcribed

Inventory Control PART 1: In this project you will write a python program to keep track of a store inventory. The store sells various items. For each item in the store, the following information is kept: item ID, item name, number of pieces ordered, number of pieces currently in the store, number of pieces sold, manufacturer's price for the item, and the store's selling price. At the end of each week, the store manager would like to see a report in the following form: Sport Life Item ID Item Name Ordered In Store Sold Manufacturer Price Selling Price 444 Running Shoes 3333 Golf Pants 150 50 40 20 85.00 90.00 135.00 169.00 50 Total number of items in the store: The total inventory is the total selling value of all items currently in the store. The total number of items in the store is the sum of the number of pieces of all items in the store. Your program must be menu driven, giving the user various choices, such as checking whether an item is in the store, selling an item, and printing the report. After inputting the data, sort it according to the item's names. Also, after an item is sold, update the appropriate counts. Initially, the number of pieces (of an item) in the store is the same as the number of pieces ordered, and the number of pieces of an item sold is zero. Input to the program is a file consisting of data in the following form: item ID item Name Ordered In Store Sold Manufacturer Price Selling Price Your program should use seven vectors (appropriate data structure such as dictionaries, set, list, ...) to store the inventory information and it must implement the following functions: (a) A function to read the data file (text file) and store the information in seven vectors (b) A function to display the following menu I. Print report 2. Print sorted report (by Item Name) 3. Check an item is in the store (by Item ID) 4. Sell an item 5. Add item to the inventory 6. Save file 7. Quit (c) A function to print the content of seven vectors similar to the report shown above

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Recommend the key methods to improve service productivity.

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago