CS计算机代考程序代写 package programmingexample7;

package programmingexample7;

public class SalesPerson extends Employee {

private float commission;

public SalesPerson(String title, String firstName, String lastName, int quota) {
super(title, firstName, lastName, quota);
}

public double calculateSalary() {
double totalSal;
totalSal = super.getBaseSalary() + commission * super.getSalesAchieved()
+ super.calculateParkingFringeBenefits()
– super.calculateTax();
return totalSal;
}

}