Answered step by step
Verified Expert Solution
Question
1 Approved Answer
M 4 Project Instructions A Introduction Assignment evaluates students understanding of collections, dictionaries specifically. It also requires using skills learned in previous modules Instructions: For
MProject Instructions A
Introduction
Assignment evaluates students understanding of collections, dictionaries specifically. It also requires using skills learned in previous modules Instructions:
For this assignment, you are required to create a program that could be used by a small business that provides a small variety of office and work supplies.
The nested dictionarythree levels below references the store inventory.
Notice the following
The inventory name is a dictionary named "inventory
The inventory dictionary references categories "Desk Supplles", "Office Equipment" and "Computer Accessories"
that references the following
@ Quantity @ Unit Price
Instructions:
Add a main function to the main program and create the inventory dictionary shown above in the main function. Make sure it looks like the image shown above
The purpose of this program is to allow the business owner to check and update their inventory.
Details on how the program should work is provided in link below
MHW instructions
The program is menu driveh. Therefore, when executed, the menu below is displayed
Menu
Display Inventory Content
Category Lookup
Item Lookup
Update Item Info
Exit
It should be obvious that the program is not to stop unless the user enters
If user enters
The program is to call a function that displays the inventory content in a tabular format.
See output example below
tableCategoryItem,Quantity,Unit PriceDesk Supplies,Pens.,$
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