Can anyone help me with this question? I have only done basic C stuff, and I don't think we've touched upon Functions yet:-

Write a program to input the number of workers followed by hours worked, hourly rate of pay, overtime rate of pay, status (married or single) for each.

The main program must use separate functions and appropriate parameters.

Suggested functions include:
a) Calculate the gross pay (overtime rate is paid for any number of hours above 40);
b) Calculate the amount of tax paid (25% if Married and 30% if Single);
(c) Display all the details on a payslip.

Many thanks for any help you may be able to offer

Stefanie <3