Answered step by step
Verified Expert Solution
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...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