- 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.
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
I agree with Bob. Show that you've tried to do the problem. List some code if you have tried it or pseudocode. If you can't come up with even pseudocode, you'll make us wonder why you're attempting to program anything in the first place. You don't even list a possible solution or any sort of algorithm to solve it. I guess that shows what kind of person you are.
We are very happy to help anyone, at least I am. But helping someone takes time. Show us some consideration by at least making an attempt.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
My other post on this homework stuff pretty much sums up how I feel.
aeinstein
Team Member - aka kaynine
645 posts since May 2002
Reputation Points: 186
Solved Threads: 8