Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can to please help me in making it in python Problem Description A software engineer was approached to develop a smart inventory for pharmacy based
can to please help me in making it in python
Problem Description A software engineer was approached to develop a smart inventory for pharmacy based on different category of medicine. The pharmacy needs the software to highlight the existing stocks of medicines and also allow to update the inventory by adding new medicines to the stocks. There are three categories of medicine Prescription Only Medicines (POM), Pharmacy Medicines (P), General Sales List Medicines (GSL) The list of inventory should look something like the table given below: Type ID Name Price in Quantity Quantity Expiry date QAR 1 ARI Arythromycin 30 250 100 20112022 1 ER2 Erythromycin 20 112 98 28062021 2 PAI Panadol 11 35 12 27102021 1 AU3 Augmenting 34 167 98 01092021 3 PAI Pampers 76 40 28 02082022 3 ST2 Strepcils 12 25 20 15062023 sold The pharmacy wants the inventory to be smart and allow them to look at the sales of each category in a monthly basis. Phasel: (Due date 12th of March 2021 at 8.00PM) Within the main function do the following: 1. Adding the medicine/product to the inventory [All inputs should be checked] Add a new medicine: Ask the person to enter the type of medicine/product (1,2 or 3) o Ask the person to enter the medicine ID, the id should hold the first two letters of the medicine and the number as shown in the ID column. o Name of the medicine o Price o Quantity o Expiry of the medicine (date/month/year) 2. Show the inventory Based on the user's input the inventory the inventory should be displayed as follows: If the user enters 'E' or 'e', the medicine which have expiry dates within three months of end of the year should be displayed. (like medicing ER2) If the user enters 'L'or l ,medicines with available stock less than 10 should also be displayed (like ST2)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