CSIS 212 Programming Assignment 2 Salary Calculator Solution

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.
Powered by