Programming
Java source code using netbeans

Question Description

I don’t know how to handle this Programming question and need guidance.

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

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

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;

duingpung (540)
Purdue University

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

Anonymous
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!

Anonymous
Thanks, good work

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4