Write a program that inputs (from the user) the number of hours worked and hourly pay rate for employees and outputs their total pay. The program should process an arbitrary number of employees; the user will terminate input by entering 0 for hours worked and pay rate. Use a class called Worker with
Attributes: Hours, Rate, Total
Methods: ComputeTotal () and access method (SetHours(), GetHours(), SetRate(), GetRate(), SetTotal()) for each of the attributes
1
Expert's answer
2013-01-16T09:10:12-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment