The planet of Mars is implementing a new planetary tax structurefor its inhabitants. Mars has contracted you to implement a programthat calculates take-home pay for employees. You must implementthis new plan using one Employee class for all employees.
Employees have either a weekly hourly wage or a monthly salarypay type.
Weekly hourly wage earners have the following deductions:
Mars planetary taxes are (specified in Martian pounds £):
If wages are >= £100.00 per hour – 10%
If wages are >= £50.00 and < £100.00 and last name is“Constant”– 2%
If wages are >= £50.00 and < £100.00 and last name is not“Constant” – 8%
If wages are
PayPal Gateway not configured
PayPal Gateway not configured