Question: Define two classes, Patient and Billing, whose objects are records for a Clinic. Derive Patient from the class Person given in Listing 8.1. A Patient
Define two classes, Patient and Billing, whose objects are records for a Clinic. Derive Patient from the class Person given in Listing 8.1. A Patient record has the patient's name (defined in the class Person) and identification number (use the type String). A Billing object will contain a Patient object and a Doctor object (from Programming Project 4). Give your classes a reasonable complement of constructors and access or methods, and an equal's method as well. First write a driver program to test all your methods, and then write a test program that creates at least two patients, at least two doctors, and at least two Billing records and then displays the total income from the Billing records
Step by Step Solution
3.52 Rating (176 Votes )
There are 3 Steps involved in it
Please find the required program below Example program include iostream include using namespace std ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1013-C-S-O-S (791).docx
120 KBs Word File
