User Profile
Collapse
-
I think I figured it out. I have another project involving an Inventory program. I can see from previous post that it's a popular topic.... -
public class Employee
{
private String employeeName; // name for wages
private double hourlyrate;
private double hours;
// method to set the name
public void setEmployeeName ( String name )
{
employeeName = name; // store name
} // end method setEmployeeName
// method to retrieve the employee name
public...Leave a comment:
-
Need help with payroll program.
I am trying to add the following information to a payroll program I am working on for assignment. Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked. Use a constructor to initialize the employee information, and a method within that class to calculate the weekly pay. Once stop is entered as the employee name, the application should terminate. Her's what I have....
No activity results to display
Show More
Leave a comment: