Answered step by step
Verified Expert Solution
Question
1 Approved Answer
so urgent needed in 50 minutes An organization has two types of employees: regular and adhoc. Regular employees get a salary which is basic +
so urgent needed in 50 minutes
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: I Employce name CHO salary Regular Adhoc Basic wage munbe salary duys (int n) salary ( ii. Define the constructors. When a regular employee is created, basic must be a parameter. When adhoc employee is created wage must be a parameter. iii. Define the destructors. iv. Define the member functions for each class as shown in above figure. Write a test program to test the classes. Plz code it in C++ needed so urgently VStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started