Example 1: Payroll Program
This example is taken from W.B.KHAN, figure 5-10, page 114. 
I called the input file: payroll-in and the output file: payroll-out.

I had to make a few changes to your textbook example to make it work.

The next slides include:

* the program source code
* the input data file
* the program compile and execute commands

You can download them to your account by accessing these slides, then type:

* a backslash (\) to access the HTML document
* a (p) to save the file to your account.

Or you can copy the examples from the following directory: