here is the problem . XYZ company gives year-end bonus to its employees based on their number of years of service and their salary, using the following:
YEARS OF SERVICE 1 BONUS 10% OF SALARY
YEARS OF SERVICE 2-5 BONUS 20% OF SALARY
YEARS OF SERVICE 5-10 BONUS 50% OF SALARY
YEARS OF SERVICE 11 AND ABOVE BONUS 75% OF SALARY
display the basic salary, bonus and the total salary (basic salary + bonus) for the week. USE CASE SWITCH STATEMENT.