Java source code using netbeans

Programming
Tutor: None Selected Time limit: 3 Days

A salesperson will continue to earn a fixed salary of 50,000. The current sales target for every sales person is 120,000. The sales incentive will only start when 80% of the sales are met. The current commission is 12% of total sales. If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The factor is 1.25

Oct 2nd, 2013
ublic class Compensation
{
private double annualSalary;
private double annualSales;
private double commissionPercent;
private double accelerationFactor;

// Constructor
Compensation()
{
annualSalary = 0;
annualSales = 0;
commissionPercent = 0;
accelerationFactor = 0;
}

Compensation(double aSalary, double aSales, double aCommPercent, double aAccelerationFactor)
{
annualSalary = aSalary;
annualSales = aSales;
commissionPercent = aCommPercent;
accelerationFactor = aAccelerationFactor;
}

// Public Methods
public void setAnnualSalary(double aSalary)
{
annualSalary = aSalary;
}

public void setAnnualSales(double aSales)
{
annualSales = aSales;
}

public void setCommissionPercent(double aCommPercent)
{
commissionPercent = aCommPercent;
}

public void setAccelerationFactor(double aAccFactor)
{
accelerationFactor = aAccFactor;
}

public double getAnnualSales()
{
return annualSales;
Oct 2nd, 2013


Are you using netbeans ?

Oct 2nd, 2013

yes

Oct 3rd, 2013

rate me please

Oct 5th, 2013

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Oct 2nd, 2013
...
Oct 2nd, 2013
Mar 26th, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer