The Johnson C &E Construction Company is managing a large construction project that will require the use of three types of construction workers: millwrights, ironworkers, and operating engineers. Johnson C &E has hired you to write a C++ program that will allow the company to maintain the following information about each construction worker hired for the job: name, address, telephone number, union affiliation, pay rate, hours worked, and job description.
Information regarding the three types of information for the construction worker types appears in the table below
Millwrights
Union: United Brotherhood of Carpenters
Job Description PayRate
Superintendent RM 29.95
General Foreman RM 28.95
Foreman RM 27.95
Journeyman RM 26.95
Apprentice RM 21.56
Iron Workers
Union: International Association of Bridge,Structural, and Ornamental Iron Workers
Job Description PayRate
Superintendent RM 29.68
General Foreman RM 28.68
Foreman RM 27.68
Journeyman RM 26.33
Operating Engineers
Union: International Union Operating Engineers
Job Description PayRate
Superintendent RM 31.90
General Foreman RM 30.90
Foreman RM 29.90
Journeyman RM 28.90
Apprentice RM 27.10
Operating Engineer personnel also have a Class Number associated with each of the above job description. These potential Class Numbers are 1,2,3,4: for example, and Operating Engineer Apprentice may have a Class Number 3 or an Operating Engineer Foreman may have a Class Number 1, Millwrights have a union local number that must be associated with each millwright. Ironworkers have the name of a business agent that must be associated with each ironworker.
Write a C++ program that
a. Create classes for each type of construction work, use inheritance, constructors, virtual function, exception handle , etc. in the solution to this question.
b. Reads in the data from the file named construction.dat and then populate three arrays with those data.
c. The three arrays should store the information about millwrights, ironworkers, and operating engineers.
d. Your program should then print the data, first listing ironworkers, then millwrights, and finally operating emgineers.



