Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 from 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 a 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 by company.

Given below is the example to understand the Scenario:

image text in transcribed

C++ Program

Department Total # of employees # of employee experience > 2 years from total employees Total monthly salary expenses Annual Bounces per employee Monthly salary expenses of employees having experience less than 2 N1 = (10-4) ($700) N2 = (12-5)*($600) N3 = (8-0)*($500) Monthly salary expenses of employees having experience greater than 2 N11 = 4*($700) +50$ N12 = 4* ($600) +50$ N13 = 4*($500) +50$ 10 4 T1 = N1+N11 12 5 Marketing HR T2 = N2+N22 T3 = N3+N33 B1 = 10%*($700)*2 B2 = 8%*($700) 2 B3 = 6%*($700*2 8 0 Total Annual Bounce Annual salary expenses B11 = B1810 A1 = B11+T1 B22 = B2*12 A2 = B22+T2 B33 = B38 A3 = B33+T3 Total annual salary expenses= A1+A2+A3

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions

Question

=+employee to take on the international assignment?

Answered: 1 week ago

Question

=+differences in home- and host-country costs of living?

Answered: 1 week ago