- What information about each employee is needed in order to compute the salary?
- How are different types of employees paid differently?
- How would you normally compute salary with time and a half (don't think in terms of programming)?
- How is the "paycode" used to determine how an employee gets paid?
- What does a switch statement do? How will it be useful here?
Try to answer these questions and then get back to us. I'm sure once you try to figure out the answers to these questions everything else will fall into place.
Break the assignment up into pieces. Separate it into questions like this, for example?
If you're still having problems even after you've tried to answer these questions, come back and I'll help you.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Offline 13,645 posts
since Feb 2002