Answered step by step
Verified Expert Solution
Link Copied!

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 +

image text in transcribed

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 V

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

More Books

Students also viewed these Databases questions

Question

Find the derivative. f(x) 8 3 4 mix X O 4 x32 4 x32 3 -4x - x2

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago