subject

Write a program to simulate a payroll application. To that affect you will also create an Employee class, according to the specifications below. Since an Employee list might be large, and individual Employee objects may contain significant information themselves, we will store the Employee list as a linked list. You will also be asked to implement a basic linked list from scratch. Attributes:

• Employee ID: you can use a string – the ID will contain digits and/or hyphens. The ID cannot be changed once an employee object is created.
• Number of hours worked in a week: a floating-point number.
• Hourly pay rate: a floating-point number that represents how much the employee is paid for one hour of work.
• Gross wages: a floating-point number that stores the number of hours times the hourly rate.

Methods:

• A constructor (__init__)
• Setter methods as needed.
• Getter methods as needed.
• This class should overload the __str__ or __repr__ methods so that Employee objects can be displayed using the print() function.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
You know the right answer?
Write a program to simulate a payroll application. To that affect you will also create an Employee c...
Questions
question
German, 14.12.2020 18:40
question
Mathematics, 14.12.2020 18:40
question
Mathematics, 14.12.2020 18:40
question
Spanish, 14.12.2020 18:40
question
Law, 14.12.2020 18:40
question
Spanish, 14.12.2020 18:40
Questions on the website: 13722359