Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Super class : Employee Member Attributes : Employeeno, Salary, HRA.CCA,DA and Category (M-Manager, T - Technician, and C-Clerk) Member Methods Employee To set the input

image text in transcribed
Super class : Employee Member Attributes : Employeeno, Salary, HRA.CCA,DA and Category (M-Manager, T - Technician, and C-Clerk) Member Methods Employee To set the input values of Employeeno, Salary and Category using parameterized constructor and calculate Net_Salary. Employee To set the input values of HRA, CCA and DA using parameterized constructor. Processo To calculate the special allowance and return allowance using the following condition Category Allowance M 15% Salary T 12% Salary 7.5%Salary 5 MARKS Display_category 0 Display_Salaryo To display the following details Employeeno, Employeename, Salary and Category To display the following details HRA, CCA and DA set 2.5 MARKS Sub Class : Personal Member Attributes : Employeename, Age, Years_of_Experience,Bonus_Amount Member Methods : Personalo To the input values Employeename, Age, Years_of_Experience, Bonus_Amount using parameterized constructor. Display 0 To display the following details Employeeno, Employeename, Salary, Category, Age, Years_of_Experience and Bonus_Amount Driver Class: Employee test To create object of Employeel. Print Employeeno, Salary, Category. To create object of Employee 2. Print HRA, CCA and DA To create object of Personal. Print Employeename, Age, Years_of_Experience and Bonus Amount To display an Allowance of the employee 2.5 MARKS Super class : Employee Member Attributes : Employeeno, Salary, HRA.CCA,DA and Category (M-Manager, T - Technician, and C-Clerk) Member Methods Employee To set the input values of Employeeno, Salary and Category using parameterized constructor and calculate Net_Salary. Employee To set the input values of HRA, CCA and DA using parameterized constructor. Processo To calculate the special allowance and return allowance using the following condition Category Allowance M 15% Salary T 12% Salary 7.5%Salary 5 MARKS Display_category 0 Display_Salaryo To display the following details Employeeno, Employeename, Salary and Category To display the following details HRA, CCA and DA set 2.5 MARKS Sub Class : Personal Member Attributes : Employeename, Age, Years_of_Experience,Bonus_Amount Member Methods : Personalo To the input values Employeename, Age, Years_of_Experience, Bonus_Amount using parameterized constructor. Display 0 To display the following details Employeeno, Employeename, Salary, Category, Age, Years_of_Experience and Bonus_Amount Driver Class: Employee test To create object of Employeel. Print Employeeno, Salary, Category. To create object of Employee 2. Print HRA, CCA and DA To create object of Personal. Print Employeename, Age, Years_of_Experience and Bonus Amount To display an Allowance of the employee 2.5 MARKS

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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

Students also viewed these Databases questions

Question

Find the lengths of the limacons r = 2 + cos and r = 2 + 4 cos .

Answered: 1 week ago