question archive Create a class EmployeeStatus that has data members as given below: Designation, department_name, date_of_joining, salary_per_anum

Create a class EmployeeStatus that has data members as given below: Designation, department_name, date_of_joining, salary_per_anum

Subject:Computer SciencePrice: Bought3

Create a class EmployeeStatus that has data members as given below: Designation, department_name, date_of_joining, salary_per_anum.

? Add a function named calculate_workTime() that implements the "operator overloading" to compute the difference between current date(date entered by user) and date_of_joining for calculating the total experience of the employee {For example : Date current_Date (20/ 11/ 2020); }

If the experience is more than 5 years then add a bonus salary in form of 70% of actual salary(of one month) and add it to the actual monthly salary. Print the increased salary and show the message: "The bonus salary after 5 years is ___________ per month" Otherwise print a simple message that prints the total experience of the employee in form of date i.e. number of months days and years.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE