Question: please need done :( Problem Statement: Write an object-oriented Java program that computes paycheck for a small company with three employees. Each employee will have

 please need done :( Problem Statement: Write an object-oriented Java program
please need done :(

Problem Statement: Write an object-oriented Java program that computes paycheck for a small company with three employees. Each employee will have a unique numeric employee number, an hourly rate, and a number of hours worked in the most recent pay period. (HINTS: hourly rate is in dollars so should support decimal numbers and hours worked does not need to support partial hours) The program should read in information about each employee via the console. Then once all information is entered, will print to the console in a very readable format, the employee number, hours worked in pay period and gross pay. (HINT: Gross pay = hourly rate * hours worked) Special requirements: 1. The program should contain at least 2 separate Java class files (.java files). One should represent the employee and contain methods for setting/getting attributes and computing gross pay. Gross pay should NOT be an attribute-there should be a method to compute it based on class attributes of hours worked and hourly rate. It should have the method signature of: public double getGrossPay() {... your code here..) 2. The reading and writing to the console should occur in the main method in a different lava file from the Employee class. An array should be used to store the data read from the user about the three employees. An appropriate loop should be used for the reading and storing of the information about the employees. AN ArrayList is not acceptable for this- you must demonstrate use of an array 3. Information about all three employees should be obtained before outputting the gross pay information required. 4. The course coding standards should be followed and your name should be part of each class header comment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!