Home / Expert Answers / Computer Science / write-a-program-named-employeebonus-to-assign-proper-bonus-to-employees-based-on-the-following-crite-pa331

(Solved): Write a program named EmployeeBonus to assign proper bonus to employees based on the following crite ...



Write a program named EmployeeBonus to assign proper bonus to employees based on the following criteria: First ask an employee if (s)he is an hourly employee. You can give the employee a prompt and ask for "Y/N" to read in response. If (s)he is an hourly employee, then prompt for weekly work hours. If (s)he works more than 40 hours per week, then assign a bonus of $500; otherwise the bonus is $100. if (s)he is not an hourly employee or is a full-time employee, then prompt for years that have been hired. If (s)he has been hired for more than 10 years, then assign a bonus of $300; otherwise the bonus is $200. Display the employee status (hourly or full-time), and the assigned bonus.



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe