akosiraff

Download PayrollProgram

Dec 9th, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/payrollprogram/
  3. Create a simple non-GUI Java payroll program with the following functionality specifics:
  4. Details:
  5. Payroll Program that:
  6. Displays text that requests the user to input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of the employee and the weekly pay amount. In the printout, display the dollar symbol ($) to the left of the weekly pay amount and format the weekly pay amount to display currency.
  7. The application must continue to request employee information until the user enters โ€œstopโ€ as the employee name.
  8. The application should be programmed to check that the hourly rate and
  9. number of hours worked are positive numbers.
  10. If either the hourly rate or the number of hours worked is not a positive value, the application
  11. should prompt the user to enter a positive amount.
  12. The application uses a class to store and retrieve the employeeโ€™s name, the hourly rate, and the number of hours worked.
  13. Use a constructor to initialize the employee information, and a method
  14. within that class to calculate the weekly pay.
  15. Once stop is entered as the employee name, the application should terminate.
  16. Download: http://solutionzip.com/downloads/payrollprogram/
Add Comment
Please, Sign In to add comment