(After reading the instructions given in the pictures attached, read the following) Class members doctorType Class must contain at least these functions doctorType(string first, string last, string spl); //First Name, Last Name, Specialty void print() const; //Formatted Display First Name, Last Name, Specialty void setSpeciality(string); //Set the doctor’s Specialty string getSpeciality(); //Return the doctor’s Specialty patientType Class must contain at least these functions void setInfo( string id, string fName, string lName, int bDay, int bMth, int bYear, string docFrName, string docLaName, string docSpl, int admDay, int admMth, int admYear, int disChDay, int disChMth, int disChYear); void setID(string); string getID(); void setBirthDate(int dy, int mo, int yr); int getBirthDay(); int getBirthMonth(); int getBirthYear(); void setDoctorName(string fName, string lName); void setDoctorSpl(string); string getDoctorFName(); string getDoctorLName(); string getDoctorSpl(); void setAdmDate(int dy, int mo, int yr); int getAdmDay(); int getAdmMonth(); int getAdmYear(); void setDisDate(int dy, int mo, int yr); int getDisDay(); int getDisMonth(); int getDisYear(); billType Class must contain at least these functions billType(string id = "", //Patient ID double phCharges = 0, //Pharmacy Charges double rRent = 0, //Room rental double docFee = 0); //Doctor Fees void printBill() const; void setInfo(string, //Patient ID double, //Pharmacy Charges double, //Room rental double); //Doctor Fees void setID(string); string getID(); void setPharmacyCharges(double); double getPharmacyCharges(); void updatePharmacyCharges(double); void setRoomRent(double); double getRoomRent(); void updateRoomRent(double); void setDoctorFee(double); double getDoctorFee(); void updateDoctorFee(double); double billingAmount(); The instructors test program will construct arrays of 10 doctorType, 10 patientType and 20 billType instances and from this data will produce the report shown on the next page. All patients will have 1 or more billings. Make sure you validate your three classes against all the functions shown above. The instructor output will be billings by patient and will provide summary data similar to the screen shot on the next page. If you need help with using this for your testing contact the instructor. Please follow the instructions given above and ensure that all of the classes and functions are mentioned in the code. Also, show how the output looks with a screenshot of your output program. Someone already "answered" this problem on Chegg before but they did a really poor job at it. Thank you so much.
(After reading the instructions given in the pictures attached, read the following) Class members doctorType Class must contain at least these functions doctorType(string first, string last, string spl); //First Name, Last Name, Specialty void print() const; //Formatted Display First Name, Last Name, Specialty void setSpeciality(string); //Set the doctor’s Specialty string getSpeciality(); //Return the doctor’s Specialty patientType Class must contain at least these functions void setInfo( string id, string fName, string lName, int bDay, int bMth, int bYear, string docFrName, string docLaName, string docSpl, int admDay, int admMth, int admYear, int disChDay, int disChMth, int disChYear); void setID(string); string getID(); void setBirthDate(int dy, int mo, int yr); int getBirthDay(); int getBirthMonth(); int getBirthYear(); void setDoctorName(string fName, string lName); void setDoctorSpl(string); string getDoctorFName(); string getDoctorLName(); string getDoctorSpl(); void setAdmDate(int dy, int mo, int yr); int getAdmDay(); int getAdmMonth(); int getAdmYear(); void setDisDate(int dy, int mo, int yr); int getDisDay(); int getDisMonth(); int getDisYear(); billType Class must contain at least these functions billType(string id = "", //Patient ID double phCharges = 0, //Pharmacy Charges double rRent = 0, //Room rental double docFee = 0); //Doctor Fees void printBill() const; void setInfo(string, //Patient ID double, //Pharmacy Charges double, //Room rental double); //Doctor Fees void setID(string); string getID(); void setPharmacyCharges(double); double getPharmacyCharges(); void updatePharmacyCharges(double); void setRoomRent(double); double getRoomRent(); void updateRoomRent(double); void setDoctorFee(double); double getDoctorFee(); void updateDoctorFee(double); double billingAmount(); The instructors test program will construct arrays of 10 doctorType, 10 patientType and 20 billType instances and from this data will produce the report shown on the next page. All patients will have 1 or more billings. Make sure you validate your three classes against all the functions shown above. The instructor output will be billings by patient and will provide summary data similar to the screen shot on the next page. If you need help with using this for your testing contact the instructor. Please follow the instructions given above and ensure that all of the classes and functions are mentioned in the code. Also, show how the output looks with a screenshot of your output program. Someone already "answered" this problem on Chegg before but they did a really poor job at it. Thank you so much.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
(After reading the instructions given in the pictures attached, read the following)
Class members
doctorType Class must contain at least these functions
doctorType(string first, string last, string spl); //First Name, Last Name, Specialty
doctorType Class must contain at least these functions
doctorType(string first, string last, string spl); //First Name, Last Name, Specialty
void print() const; //Formatted Display First Name, Last Name, Specialty
void setSpeciality(string); //Set the doctor’s Specialty
string getSpeciality(); //Return the doctor’s Specialty
patientType Class must contain at least these functions
void setInfo(
string id, string fName, string lName,
int bDay, int bMth, int bYear,
string docFrName, string docLaName, string docSpl,
int admDay, int admMth, int admYear,
int disChDay, int disChMth, int disChYear);
void setID(string);
string getID();
void setBirthDate(int dy, int mo, int yr);
int getBirthDay();
int getBirthMonth();
int getBirthYear();
void setDoctorName(string fName, string lName);
void setDoctorSpl(string);
string getDoctorFName();
string getDoctorLName();
string getDoctorSpl();
void setAdmDate(int dy, int mo, int yr);
int getAdmDay();
int getAdmMonth();
int getAdmYear();
void setDisDate(int dy, int mo, int yr);
void setSpeciality(string); //Set the doctor’s Specialty
string getSpeciality(); //Return the doctor’s Specialty
patientType Class must contain at least these functions
void setInfo(
string id, string fName, string lName,
int bDay, int bMth, int bYear,
string docFrName, string docLaName, string docSpl,
int admDay, int admMth, int admYear,
int disChDay, int disChMth, int disChYear);
void setID(string);
string getID();
void setBirthDate(int dy, int mo, int yr);
int getBirthDay();
int getBirthMonth();
int getBirthYear();
void setDoctorName(string fName, string lName);
void setDoctorSpl(string);
string getDoctorFName();
string getDoctorLName();
string getDoctorSpl();
void setAdmDate(int dy, int mo, int yr);
int getAdmDay();
int getAdmMonth();
int getAdmYear();
void setDisDate(int dy, int mo, int yr);
int getDisDay();
int getDisMonth();
int getDisYear();
int getDisMonth();
int getDisYear();
billType Class must contain at least these functions
billType(string id = "", //Patient ID
double phCharges = 0, //Pharmacy Charges
double rRent = 0, //Room rental
double docFee = 0); //Doctor Fees
void printBill() const;
void setInfo(string, //Patient ID
double, //Pharmacy Charges
double, //Room rental
double); //Doctor Fees
void setID(string);
string getID();
void setPharmacyCharges(double);
double getPharmacyCharges();
void updatePharmacyCharges(double);
void setRoomRent(double);
double getRoomRent();
void updateRoomRent(double);
void setDoctorFee(double);
double getDoctorFee();
void updateDoctorFee(double);
double billingAmount();
The instructors test program will construct arrays of 10 doctorType, 10 patientType and 20 billType
instances and from this data will produce the report shown on the next page. All patients will have 1 or more billings.
Make sure you validate your three classes against all the functions shown above. The instructor output will be billings
by patient and will provide summary data similar to the screen shot on the next page. If you need help with using this
for your testing contact the instructor.
billType(string id = "", //Patient ID
double phCharges = 0, //Pharmacy Charges
double rRent = 0, //Room rental
double docFee = 0); //Doctor Fees
void printBill() const;
void setInfo(string, //Patient ID
double, //Pharmacy Charges
double, //Room rental
double); //Doctor Fees
void setID(string);
string getID();
void setPharmacyCharges(double);
double getPharmacyCharges();
void updatePharmacyCharges(double);
void setRoomRent(double);
double getRoomRent();
void updateRoomRent(double);
void setDoctorFee(double);
double getDoctorFee();
void updateDoctorFee(double);
double billingAmount();
The instructors test program will construct arrays of 10 doctorType, 10 patientType and 20 billType
instances and from this data will produce the report shown on the next page. All patients will have 1 or more billings.
Make sure you validate your three classes against all the functions shown above. The instructor output will be billings
by patient and will provide summary data similar to the screen shot on the next page. If you need help with using this
for your testing contact the instructor.
Please follow the instructions given above and ensure that all of the classes and functions are mentioned in the code. Also, show how the output looks with a screenshot of your output program. Someone already "answered" this problem on Chegg before but they did a really poor job at it.
Thank you so much.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 13 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY