CAPE Computer Science Unit 1 · 2010 · Paper 2 · Question 5(c)
Write a C program that reads employee records from 'salary.dat' (surname up to 30 characters, hours worked, hourly rate, deductions; ending with sentinel 'ENDDATA'), and calculates and prints the gross salary for each employee, net pay for each employee, and overall total net pay.
The mark scheme is shown once you've answered.
Practise this question