Hi, I am looking at your code and have not got a chance to review it in depth yet. I just wanted to clarify that your trying to make a payroll program to compute employee pay information like for a company right?
Check out http://www.simplecomputerapps.webs.com and try out their payroll app. If this is what you want yours to do, then I can better assist you. That site is mine and that application is mine but I made mine in a completely different way. Your code seems to be much more efficient than the code with which I used to program mine but at the same time, that can cause issues with errors that are harder to find. My program uses a couple hundred lines of code and uses structures as well as arrays but it is easier to spot issues when they occur.
If you have time, check it out and let me know how I can assist you further.