Java source code using netbeans

Question Description

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

Final Answer

ublic class Compensation
private double annualSalary;
private double annualSales;
private double commissionPercent;
private double accelerationFactor;

// Constructor
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;

duingpung (540)
Purdue University

Top quality work from this tutor! I’ll be back!

It’s my second time using SP and the work has been great back to back :) The one and only resource on the Interwebs for the work that needs to be done!

Thanks, good work


Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors