We have previously wrote a payroll program for a socially-conscious company, and revised it to deduct income tax and revised it again to make the program more modular by using functions.
In this last (hopefully) revision, we will have it read the marital status, number of kids and hours worked from a file (one line at a time for each value). We will then output the pay stub information as we did in the most recent version.
If you need to look at the earlier versions, they are Programming Assignments 4, 5 and 9.