
Tchegge J.
asked 11/24/13Write an employee payroll program that uses polymorphism to calculate and print the weekly payroll for your company
i cant find the answer. need help
More
2 Answers By Expert Tutors

Michael U. answered 03/17/14
Tutor
5
(4)
Unity 3D, Web, .NET, and Software Development Tutor
This is something that will take you a lot of time to think about and build without a starting point, so here is an article that describes what you are asking for:
http://www.informit.com/articles/article.aspx?p=1329139&seqNum=5

Larry C. answered 04/24/14
Tutor
4.9
(294)
Computer Science and Mathematics professional
Without more detail about the business rules involved, kind of hard to state specifically, but here's an example:
Within the company, you have Employee, which would be your primary class. Derived from that might be Hourly and Salary, each of which have a different method for calculating wages. They might even be further derived into StraightHourly, HourlyWithCommission, StraightSalary and SalaryWithBonus, each of which have separate methods for calculating wage. The hourly employees would have factors such as overtime, shift differential and the like that don't apply to salaried.
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Kevin F.
11/24/13