Question: I'm new to java programming and could use some help with this assignment. Write a program to calculate the salary paid to its salespersons. The

I'm new to java programming and could use some help with this assignment.

Write a program to calculate the salary paid to its salespersons. The salary is calculated using the following rules: 1) If an employee has worked here for less than 5 years, the salary consists of only the commission amount; 2) If an employee has worked here for more than or equal to 5 year, the salary consist of base salary of $10,000 and commission amount. The following is a list of commission rates: Sales Amount Commission Rate $ 0.00 to $ 15,000 10% $ 15,001 to $ 60,000 15 % Over $60,000 33% But there is a catch. The sales amount between $15,000 (not included) to $60,000 gets only 10% on the first $15,000 and 15% on the remaining. The sales amount above $60000 pays only 10% on the first $15,000 and 15% on the next $45,000 and 33% on the remaining amount

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!