Employees are paid in an hourly basis. The minimum wage is equal to 8.00 Weekly they work
Fantastic news! We've Found the answer you've been seeking!
Question:
Employees are paid in an hourly basis. The minimum wage is equal to 8.00 Weekly they work up to 40 hours. If someone works more, they get x1.5 for each hour after the standard workload. But it is not allowed to work more than 60 hours. Write a small program (create Employee class with necessary fields), which will do all calculations with a calculateSalary method. Take the following as input: Base Pay Hours Worked
Employee 1 $7.50 35
Employee 2 $8.20 47
Employee 3 $10.00 73
Tips: Use encapsulation: setters to validate and assign data; getters to retrieve data.
Related Book For
Auditing An International Approach
ISBN: 978-1259087462
7th edition
Authors: Wally J. Smieliauskas, Kathryn Bewley
Posted Date: