Prompt the user to enter Employee ID, Age, Salary, and Years of Service. Calculate employee’s salary after promotion by implementing the following conditions: If, Employee is older than 40 years and his Years of Service are more than 4: Add $5000 to his salary.
Employee’s Age is greater than 30 and less than 40: Add $3000 to his salary.
Otherwise, Add $1000 to his salary.
Display employee’s information including his salary after promotion and calculate the income tax at the following rates: 5% on $20,000-$30,000 taxable income, 8% on more than $30,000 taxable income
Where, Tax = income * tax rate / 100 Print employee’s salary after the deduction of tax.
Answers
Answered by
1
Answer:
Add up the recruiting, salary, payroll tax, benefit and incentive expenses to determine the total compensation expenses. To find the monthly compensation expense, calculate the quarterly or annual expenses and divide by 3 or 12, respectively.
Explanation:
Formula's :- Gross Salary = Basic + Da + Hra + Ma. Deduction = Gross Salary - Pf - Pt - It. Net Salary = Gross Salary - Deduction. Logic:- For finding a gross salary of Employee we need to calculate DA and HRA then Sum Of Basic Salary + HRA + DA
Similar questions