Develop a program that will determine the gross pay for each of several employee

Develop a program that will determine the gross pay for each of several employees. The company pays “straight time” for the first 40 hours worked by each employee and pays “time-and-a-half” for all hours worked in excess of 40 hours. You’re given a list of the company’s employees, the number of hours each worked last week and each employee’s hourly rate. Your program should use scanf to input this information for each employee and determine and display the employee’s gross pay. Here is a sample input/output dialog:
Enter # of hours worked (-1 to end): 39
Enter hourly rate of the worker ($00.00): 10.00
Salary is $390.00
Enter # of hours worked (-1 to end): 40
Enter hourly rate of the worker ($00.00): 10.00
Salary is $400.00
Enter # of hours worked (-1 to end): 41
Enter hourly rate of the worker ($00.00): 10.00
Salary is $415.00
Enter # of hours worked (-1 to end): -1Rubric
Rubric 1.1
Rubric 1.1
CriteriaRatingsPts
This criterion is linked to a Learning OutcomeDetailed comment to explain every step of the solution
2 ptsFull Marks
0 ptsNo Marks
2 pts
This criterion is linked to a Learning OutcomeSelf explanatory variable names and good coding format (empty lines, indentation ect)
2 ptsFull Marks
0 ptsNo Marks
2 pts
This criterion is linked to a Learning OutcomeProgram keep asking user’s input, the program exit when and only when user enter -1
5 ptsFull Marks
2 ptsPartial
Program keep asking user input, cannot exit or exit on other input besides 1
0 ptsNo Marks
5 pts
This criterion is linked to a Learning OutcomeSalary calculated correctly as the problem described
2 ptsFull Marks
0 ptsNo Marks
2 pts
This criterion is linked to a Learning OutcomeAll variables are defined with expected type
2 ptsFull Marks
1 ptsPartial
Variables are all defined as same data type
0 ptsNo Marks
2 pts
This criterion is linked to a Learning OutcomeOutput display format is the same as the example
2 ptsFull Marks
0 ptsNo Marks
2 pts
This criterion is linked to a Learning Outcomeprogram should include copywrite which contains the assignment number and your name
2 ptsFull Marks
0 ptsNo Marks
2 pts
Total Points: 17

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount