Page 1 of 1

Problem: Write a program segment which assigns bonuses to workers based on the following criteria, • If a person is a pe

Posted: Sat Feb 19, 2022 3:21 pm
by answerhappygod
Problem Write A Program Segment Which Assigns Bonuses To Workers Based On The Following Criteria If A Person Is A Pe 1
Problem Write A Program Segment Which Assigns Bonuses To Workers Based On The Following Criteria If A Person Is A Pe 1 (155.18 KiB) Viewed 55 times
please help to write c++ program for the above question.
Problem: Write a program segment which assigns bonuses to workers based on the following criteria, • If a person is a permanent worker, he will get 5 months bonus if his length of service is more than or equal to 10 years, 3 months bonus if his length of service is more than or equal to 5 years but less than 10 years, 1 month bonus if his length of service is less than 5 years. • If a person is a temporary worker, he will get half-a-month bonus if his length of service is more than or equal to 2 years, else he is not entitled for bonus. If the person is a contract worker, he will get half-a-month bonus if his length of service is more than or equal to 5 years, else he is not entitled for bonus.