Write a program in C to read current year and basic salary of an employee and also read
year in which the employee joined the organization. If the numbers of year for which the
employee has served the organization is greater than 5 then a bonus of 20% of basic salary
is given to the employee otherwise the bonus is given to employee is 10% of basic salary.
Calculate and display bonus of an employee.
Answers
Answered by
2
Explanation:
Write a program in C to read current year and basic salary of an employee and also read
year in which the employee joined the organization. If the numbers of year for which the
employee has served the organization is greater than 5 then a bonus of 20% of basic salary
is given to the employee otherwise the bonus is given to employee is 10% of basic salary.
Calculate and display bonus of an
Similar questions