Give the definition of a class named doctor whose objects


Problem

Give the definition of a class named Doctor whose objects are records for a clinic's doctors. This class will be a derived class of the class SalariedEmployee given in Display 14.4. A Doctor record has the doctor's specialty (such as "Pediatrician," "Obstetrician," "General Practitioner," etc., so use type string), and office visit fee (use type double). Be sure your class has a reasonable complement of constructors and accessor  methods, an overloaded assignment operator, and a copy constructor. Write a driver program to test all your methods.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Give the definition of a class named doctor whose objects
Reference No:- TGS02746668

Expected delivery within 24 Hours