Question: I solved part one but I need part two In this lab, we compute total payroll of a company 1) In the first part of

 I solved part one but I need part two In this
lab, we compute total payroll of a company 1) In the first
part of the lab, we asked the user to input employee ID,
I solved part one but I need part two

In this lab, we compute total payroll of a company 1) In the first part of the lab, we asked the user to input employee ID, hours and pay rate to compute the total payroll of the company(10 points) 21 If an employee works for more than 40 hours per week, overtime pay must be included which is more than the regular hourly pay rate. Then compute the total payroll. Assume at least 1 of the employee works overtime (10 points) to compute the total payroll of a company*/ -nclude nt main() int emp_id, num_emp, hours, count;//emp_id- ID, num_emp - total number of employees working in company float rate, pay_emp, total_pay;//pay_emp - pay per employee count = 1; total_pay = 0;// has to be intialized /"get the number of employees*/ printf("how many employees work for the company? "); scanf("%d", &num emp); while (count

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!