CSIS 212
CSIS 212
PROGRAMMING ASSIGNMENT 2
INSTRUCTIONS
Exercise 3.20 JHTP (Salary Calculator): Develop a Java application that determines the gross
pay for each of three (3) employees. The company pays straight time for the first 40 hours
worked by each employee and time and a half for all hours worked in excess of 40. You’re given
a list of employees, their number of hours worked last week, and their hourly rates [create your
own information/data here to input into the program]. Your program should input this
information/data for each employee, then determine and display the employee’s gross pay. Use
class Scanner to input the employee data.
Use the follow Screenshot to help code a possible solution. Note: Answers will vary based on
the “fake” information/data that you chose to enter in for each employee.
This assignment is due by 11:59 p.m. (ET) on Monday.
My program should:
1: Input hours worked for three different employees. Display message “Enter the hours for ”
2: Calculate the pay per hour including OT pay per hour.
3: Display pay for results for each employee.
Initialize counter for threes employees
Ask input for hours worked and for hourly rate.
Display hourly rate
Increase counters
CSIS 212
PROGRAMMING ASSIGNMENT 2
INSTRUCTIONS
Exercise 3.20 JHTP (Salary Calculator): Develop a Java application that determines the gross
pay for each of three (3) employees. The company pays straight time for the first 40 hours
worked by each employee and time and a half for all hours worked in excess of 40. You’re given
a list of employees, their number of hours worked last week, and their hourly rates [create your
own information/data here to input into the program]. Your program should input this
information/data for each employee, then determine and display the employee’s gross pay. Use
class Scanner to input the employee data.
Use the follow Screenshot to help code a possible solution. Note: Answers will vary based on
the “fake” information/data that you chose to enter in for each employee.
This assignment is due by 11:59 p.m. (ET) on Monday.
My program should:
1: Input hours worked for three different employees. Display message “Enter the hours for ”
2: Calculate the pay per hour including OT pay per hour.
3: Display pay for results for each employee.
Initialize counter for threes employees
Ask input for hours worked and for hourly rate.
Display hourly rate
Increase counters