Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The programs must done using c++ language.The project must include a loop style menu which only close if the user decides to. The project will

image text in transcribed

image text in transcribed

The programs must done using c++ language.The project must include a loop style menu which only close if the user decides to. The project will save the information to two different file types: txt and csv. Optional, the user must specify th path and name of the file. When printing in console the information should be readable and in tabular form. User entries must be validated always. All prgrams must use the concept of base class, inheritances, hierarchy, polymorphism, virtual functions, operator overloading, template class, at least two functions of the tempplate class must be overloaded. All the programs must handle datess using a class.

Project 1: Pharmacy Inventory 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: Children's 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

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions