Question: 2. Write a program using a class employee to input the record of employees. Define the following data members: Name I Basic Pay House Rent

 2. Write a program using a class employee to input the

2. Write a program using a class employee to input the record of employees. Define the following data members: Name I Basic Pay House Rent Medical Allowance Net pay Define the following member functions: To input data. To calculate house rent, medical allowance and net pay. To display the complete record on the screen. where house rent -60% (60/100)of basic pay medical allowance - 20% (20/100)of basic pay Net pay=Basic Pay + House Rent + Medical Allowance The output of a program should be like

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!