class Employee1
{
public static void main (String [] args)
{
Employee Fred = new Employee("Freddy", 1, 1000000, 22, "Garbage sanitisor");
Employee Sarah = new Employee("Sarah", 1, 500000, 46, "<<Insert humorous profession name>>");
System.out.println("Fred's Fex tax is: " + Fred.getFedTax());
System.out.println("Fred's SS tax (rate of 1%) is: " + Fred.getSsTax(1));
System.out.println("Fred's Health fee (rate of 3%) is: " + Fred.getHealthFee(3));
System.out.println("Fred's insurance cost is: " + Fred.getInsurance());
System.out.println("Fred's net pay is: " + Fred.getNetPay());
System.out.println("---------------------------");
System.out.println("Sarah's Fex tax is: " + Sarah.getFedTax());
System.out.println("Sarah's SS tax (rate of 1%) is: " + Sarah.getSsTax(1));
System.out.println("Sarah's Health fee (rate of 3%) is: " + Sarah.getHealthFee(3));
System.out.println("Sarah's insurance cost is: " + Sarah.getInsurance());
System.out.println("Sarah's net pay is: " + Sarah.getNetPay());
}
} 16-May.JPG