Design a payroll program that prompts user enter an employee's hourly pay rate and the number of hours worked. Validate user's input so that only pay rates in the range of $7.5 through $18.25 and hours in the range of 0.5 through 40 are acceptable. If user enters validate data in less than three tries, the program calculate and display gross pay, otherwise tell user the program will be terminated because of too many invalid input.
Please provide step by step solution for this problem!
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here