Calculate salary
$30-5000 USD
着払い
Write a class called **CalculateSalary** which computes the weekly salary for an employee. The class accepts the name of the employee and the number of hours worked. The employee gets $7.50 per hour for the first forty hours, and $11.25 pero hour for each additional hour. In addition, the salary can only be calculated if the number of hours is between 0 and 80
Write a class called **testSalary.** Use the following date to test your Program:
**John 40
Harry 85
Mary 65
James -40**
## Deliverables
Write a class called **CalculateSalary** which computes the weekly salary for an employee. The class accepts the name of the employee and the number of hours worked. The employee gets &7.50 per hour for the first forty hours, and $11.25 per hor for each additional hour. In addition, the salary can only be calculate is the number of hours is between 0 and 80,
Write a class called testSalary. Use the following data to test your program
**John 40
Harry 85
Mary 65
James -40
this is a Java Assignment and it has to be done in JCreator
thanks**
## Platform
This is a Java assignment and it has to be done in JCreator
プロジェクトID: #3004156