Question: In c++ Design and develop a program to manage a pharmacy inventory. This pharmacy handles three types of medications: over the counter medication, prescribed regular
In c++ Design and develop a program to manage a pharmacy inventory. This pharmacy handles three types of medications: over the counter medication, prescribed regular medication and prescribed controlled medication. Each medication has a price, it is stored in a bin numbered by letters and its name contains: name of medication, dosage and unit of measure. Example of a medication: Childrens Aspirin 25 MG located at bin BR-CN with a cost of $0.50 each milligram. Your program should include a main menu that allows the user to enter a new pharmacy item, search for pharmacy items containing a specific name, print all medications on inventory and edit an inventory item. Upon printing all medications items, the user can decide if it wants the list to be exported to a csv file (in which the user specifies the path), a txt file (in which the user specifies the path) or view on the console (print in console). All medication items have the date in which they were entered stored as part of their information. Upon searching the user must be able to select to search by name, by bin, or by entry date. Upon edit, the user can update the name, the dosage and unit of the medication and the cost. By pressing this option the user can decide to cancel and not continue with the update or accept the changes. If the user accepts the changes the system will update the entry date to the new current date. The new location of bin must be updated. A medication can also be inactive.
Sample output of the menu:

Pharmacy Inventory System 1Enter a new inventory item 2 Manage inventory 3Print/Export inventory 4-About this progran E-Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
