Array and Hash Assignment:
In this assignment I want you to take in payroll information and process the information to create an amount
to be paid. All of the things listed below should be handled using the techniques discussed for an array or hash.
When printing out the pay, you should use the techniques described in chapter #3 to impact the way you print the
- You should set up a series of job categories with a letter code, each code will have a specific base salary.
- You should set up a series of insurance options with a numeric code (in sequence). Depending on the
insurance plan you will subtract an amount from the insurance.
- You should set up a series of tax withholding codes (your choice how you do this). Each code should result in
a specified percent being subtracted from base salary prior to the insurance deduction.
In addition you should come up with a way to use the foreach command. You can do this in this program if you
can think of a neat idea or in a separate program.