Provide the solution for the following open ended problem. Assume you are CEO of a well-known company. You need to create a salary management system for the company in order to check the amount spent on salaries of your employees.
Let there be 3 types of employees in the company i.e. Developers, Marketing Teams and Human Resource.
Your company gives salary on the basis of experience of the employee. Initial salary for the Developers is $800, for the Marketing Team is $700 and for Human Resource is $600. Your program should ask the employee to enter the year of experience in the company, if the experience is more than 2 years an increment of $50 is given. The Salary mentioned above is monthly.
Annually two bonuses are given to the employee, Bonus is 10% for the Developers, 8% for the Marketing Team and 6% for Human Resource.
Your Program should initially display a menu from which the employee chooses his/her department. Depending on the Department chosen the salary/bonuses are given.
Create Function that calculates the monthly salary for each department. Create another function that calculates the annual salary for each department and one for calculating the overall amount spent on salaries. In C++
Comments
Leave a comment