I am getting this error message:
2 errors found:
Error: The method determineTaxRate(double) in the type PayCalculator is not applicable for
You are calling
determineTaxRate()
But your method is defined as this:
public double determineTaxRate(double grossPay) {
Same with your other error. You need to pass a double to the method. Such as this:
double
determineTaxRate(calculateGrossPay())