View Single Post
Old 01-08-2004, 08:44 AM   #4 (permalink)
ender
Code Monkey
 
ender's Avatar
 
Join Date: Mar 2003
Location: Evansville, IN
Posts: 75
ender is on a distinguished road
Send a message via AIM to ender Send a message via Yahoo to ender
I only have one problem with your code. Why are you taking the hoursWorked % 10 for hourly people who work overtime? For an 80 hour week (God forbid) one would only be paid for 40 hours. 80 % 10 = 0; Should this not be:

Code:
... (hoursWorked - 40) * ...
Just wondering,
- Ted
__________________
while(1) fork();
ender is offline   Reply With Quote