Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

2. How should this be dealt with by the organisation?

Answered: 1 week ago

Question

explain what is meant by the term fair dismissal

Answered: 1 week ago