I HAVE THIS COURSE WORK TO BE COMPLETED IN A FEW DAYS PLZ HELP!!!!
You and your partner are IT consultants. You have been hired by a company/institution to write a C++ program OF A Pharmacy
You are required to create an executable individualized designed program with complete documentation in C++ to allow the companies/institutions to keep a record of all employees, customers/students and products/goods/services provided.
The program should have at least three classes involved, there must be at least one super-class, and must manipulate some collection using a file.
Specifications:
1. There must be a welcome screen that allows the users to:
o Add a new student/customer
o Add a new employee
o Add a new product
o Display all customers/students, employees and products
o Perform a calculation to determine the amount of school fee owed or compute a bill/invoice.
2. You must have a base class called Person, with member data: firstname, lastname, mi(middle initial), day of birth, month of birth and year of birth; and member functions getname, getDOB (allows user to input name and date of birth respectively) and an appropriate constructor function.
3. From this base class there should be derived classes for the various categories of persons in the organization with additional member data and member functions as you see fit.
4. There should be at least 15 students/customers, 5 teachers/tellers/workers and 15 products/course/services entered into the system. You need to create arrays of classes or use inked lists.
5. Comments must be included to describe what you are doing.
THIS IS WHAT I HAVE SO FAR!!!!!!
//pharmacy
#include <iostream>
#include <fstream>
using namespace std;
class: product
{
public: get_product(int a);
private:
int a get_product;
};
class person
{
public:
void get_name (string a, string b);
void get_dob (int z, int w, int y);
};
protected:
string first_name;
string last_name;
char mi;
int day_of_birth;
int month_of_birth;
int year_of_birth
// derived class
class pharmacist:public person {
{
public: get_pharmacist (int p);
private:
int p get_pharmicist;
};
//derived class
class customer: public person {
{
public: get_id_number int c;
private:
int a get_id_number; };
};
void get_name::person (string a, string b);
cout<<"Enter the First name and last name of the person"<<endl;
cin>>a>>
cin>>b>>
name=a;
name=b;
void get_dob (string);
cout<<"Enter the day of birth"<<endl;
cout<<" Enter the month of birth"<<endl;
cout<<"Enter the year of birth"<<endl;
cin>>z>>
cin>>w>>
cin>>y>>
dob=z;
dob=w;
dob=y;
void get_name::person;
cout<<"The first name and last name of the person is:"
<<a<<b<<endl;
void get_dob::(string)
cout<<"The Day of birth is:"
<<z<<endl;
cout<<"The Month of birth is:"
<<w<<endl;
cout<<"The year of birth is: "
<<y<<endl;
cin>>z>>
cin>>w>>
cin>>y>>
void get_dob::(string)
cout<<"The Day of birth is:"
<<z<<endl;
cout<<"The Month of birth is:"
<<w<<endl;
cout<<"The year of birth is: "
<<y<<endl;
cin>>z>>
cin>>w>>
cin>>y>>
Just a little question: If you are new to programming who the hell gave you this course work? Maybe you are a student or you are in a college and you just wait somebody to do your work... But if someone helps you with such a complicated program (in fact it's not so complicated), you will never know how to do it by yourself. And then you will graduate and become a programmer. And you will take the place of somebody who knows how to do it.... I think that's enough.