This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have a simple code for payroll. I believe there is a logical error.
When the hourWorked is > 40hrs respecting any payRate I do get a wrong answer.
Look at my attachment for the result giving for 41 hours at 40 dollars per hour payRate.
= 1700 as opposed to 1660. So basically my program is not executing the else if when the
hourWorked is > than 40 hours. I will be glad if someone can help me on this.
One more thing, I will like to have a number of users go into the payroll system and
use the data type for their gross pay. I.E to repeat the process for different employees. I will
also be happy to know how to do it in such way say a specific number of worker can get a grosspay.
Thereafer, the program will stop with ''Goodbye name exiting payroll system now".
Now I need to build on it like keep similar data for employees and have the gross pay displayed until there is no more employee data to process. Then I will display "Good Bye."