Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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