Answer to Question #335835 in C++ for zaira

Question #335835

1.     An organization has two types of employees: regular and adhoc. Regular employees get a salary which is basic + DA + HRA where DA is 10% of basic and HRA is 30% of basic. Adhoc employees are daily wagers who get a salary which is equal to Number * Wage.

 

(i)       Define the classes shown in the following class hierarchy diagram:

 


(ii)     Define the constructors. When a regular employee is created, basic must be a parameter.

(iii)   When adhoc employee is created wage must be a parameter.

(iv)    Define the destructors.

(v)      Define the member functions for each class. The member function days ( ) updates number of the Adhoc employee.

(vi)    Write a test program to test the classes.



0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS