CODEX institute is implementing a salary policy bonus based on wether an employee is a senior or junior staff, salaries are between certain boundaries which the tax are calculated on, below are the salary boundaries:
Tax rate Salary
3%---------------------500-590
5%---------------------600-690
8%---------------------700-790
10%-------------------800-890
12%-------------------900-990
Write a program (Java) that will calculate:
(i) The tax
(ii) The take home
Making use of the bonus given based on senior and junior staff. Use switch statement in your program. Senior staff will take 50 for a bonus whilst junior staff will take 20 for a bonus