Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop an object-oriented program in C+ to create a simple Pharmacy Management System (PMS) with the following information read from the keyboard: Please, Choose

 



Develop an object-oriented program in C+ to create a simple Pharmacy Management System (PMS) with the following information read from the keyboard: Please, Choose Your Option: 1. Add New Sale 2. View All Medicine 3. Sold Medicine List 4. Add New Medicine 5. Update Medicine Details 6. Delete Medicine From Stock 7. Total Sales Report Enter Your Choice: Now with choice enter the following information's. Add New Sale - Invoice ID (Auto-serial no) + Date + Customer Name + Medicine Name + Company Name (Auto from the list) + Medicine quantity (check the "Items quantity' with the inventory/all item list) + Medicine price (Auto from the list) + Show Total Amount. View All Medicine, Sold Medicine List, Add New Medicine, Update Medicine Details - Medicine Name + Company Name +Medicine Quantity + Medicine Unit price + Medicine Arrival Date + Medicine Expire Date Delete Medicine From Stock Take Input - Medicine Name + Delete Medicine From Stock To implement the program the user should follow the following steps: Implement a class named AddNewSale which will have all the information about the medicine sale (Invoice ID (Auto-serial no) + Date + Customer Name + Medicine Name) and have the functions : AddNewMedicine 0, UpdateMedicineDetails(and DeleteMedicineFromStock () Implement a class named SoldMedicineList which is used to update the information of sold medicine (Medicine Name + Company Name +Medicine Quantity + Medicine Unit price + Medicine Arrival Date + Medicine Expire Date) and have the functions: and TotalSalesReport(). Write necessary attributes and methods to utilize the above mentioned classes in Iogical way. Use necessary getter and setter methods with menu options for the ease of the operation of this program. Your code should not be limited to the above classes only. Rather, you can add new classes as your requirement. Note: 1. Students have complete freedom to use pointer, structure, vector and other concepts to make the code efficient. 2. Students are not allowed to use the concepts beyond the syllabus. 3. Programming language is C++. Try to avoid the coding pattern of C

Step by Step Solution

3.39 Rating (146 Votes )

There are 3 Steps involved in it

Step: 1

include include include include include include include include define max 10 using namespace std th... 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

Step: 3

blur-text-image

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

Introduction to Information Systems

Authors: Patricia Wallace

2nd edition

9780133807486, 133571750, 133807487, 978-0133571752

More Books

Students also viewed these Programming questions

Question

a. What is the name of the university?

Answered: 1 week ago