Develop an object-oriented program in C+ to create a simple Pharmacy Management System (PMS) with the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
include include include include include include include include define max 10 using namespace std th... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Calculate WACC Below is the capital structure of Chand Ltd and cost incurred by Chand Ltd. for the capital. Capital Component Retained Earnings Equity Share Capital Preference Share Capital Long Term...
-
An achievement test is said to be reliable if a student who takes the test several times will consistently get high (or low) scores. One way of checking the reliability of a test is to divide it into...
-
The paper School Achievement Strongly Predicts Midlife IQ(Intelligence [ 2007]: 563 567) examined the relationship between school achievement test scores in grades 3 to 8 and IQ measured many years...
-
In a bank reconciliation, deposits in transit are: (a) deducted from the book balance. (b) added to the book balance. (c) added to the bank balance. (d) deducted from the bank balance.
-
According to the National Center for Health Statistics, the average height of females in the United States is 63.7 inches with a standard deviation of 2.75 inches. Using the heights for the random...
-
Explain why it is not possible to determine the charge and the mass of a charged particle separately by measuring accelerations produced by electric and magnetic forces on the particle.
-
Explain each of the relationships outlined in the quadrants in Figure 10.1 (page 239). Detail the actions that would lead to a favourable change in direction in each of the four relationships...
-
Talia Company produces a single product. The company has set standards as follows for materials and labour: During the past month, the company purchased 3,000 kilograms of direct materials at a cost...
-
1. To what extent is the government and by extension the tax payer obligated to pay for rebuilding these poor communities impacted by natural disasters? 2. Kind of extending on this question, to what...
-
Laurens Beauty Boutique has experienced the following weekly sales: Forecast sales for week 6 using the nave method, a simple average, and a three-period moving average. Week 1 2 3 4 5 Sales 420 382...
-
Use the following assumptions to develop a fiveyear set of pro forma statements. Make any additional assumptions you need. a. The entrepreneur has $300,000 to invest in the venture, will raise an...
-
Problem 3 : Controllability Gramian (a) Consider the following state equation: -0.5 0 x = - [ 85 9] = + [8]. x U 0 x(0) = [0:1] (i) (2 points) Show that there exists an input u(t) that drives x(0) to...
-
If you have $577 today and you think you can earn an interest rate of 6% per year, how many years until you have $982?
-
Name 5 examples of how government has overstepped biblical principles in some form of economic policy. A specific piece of legislation relating to business regulation or taxation. The "party...
-
Little Books Inc. recently reported $220,000 of net income. Its EBIT was $420,000, and its tax rate was 42.00%. What was its interest expense?
-
A Spacecraft is not spinning. If a 2.0 N thruster fires 1.0 m from the spacecraft's centre of mass, perpendicular to the centre of mass, how much torque does it generate, and how will the angular...
-
In a kidnapping scenario, the kidnapper (Guy) would be inclined to kill the kidnappee (Orlando) if Orlando sees Guy's face, because if Orlando were released, he would be able to help the police...
-
Nike manufactures shoes and sportswear. How has the Internet changed the way this company communicates with its suppliers and retail customers?
-
Draw a square and divide it into four equal sections. Label the horizontal axis Interactivity and the vertical axis Media Richness. Label the first column Low and the second column High. Label the...
-
The volunteer coordinator of the Downtown Emergency Shelter has asked you to use the information provided in Figure 2-20 to create an Access database. (You can download the Excel file called Ch02Ex02...
-
How do governments use information systems to improve services and fund research?
-
Derive the mass matrix of each of the systems shown in Figs. 6.22 using the indicated coordinates. G3 G5 15 13 k2 04 Mcos wt 01 02 4 kn 12 G G4 16 G6 G Number of teeth on gear G = n, (i = 1 to 6)...
-
Derive the equations of motion of the system shown in Fig. 5.12(a), using Lagrange's equations with (a) \(x_{1}\) and \(x_{2}\) as generalized coordinates and (b) \(x\) and \(\theta\) as generalized...
-
Derive the equations of motion of the system shown in Fig. 6.36 by using Lagrange's equations with \(x\) and \(\theta\) as generalized coordinates. Figure 6.36:- m k 00000 m T x FIGURE 6.36 Mass and...
Study smarter with the SolutionInn App