Wednesday
July 29, 2015

Homework Help: OOP PROGRAMMING

Posted by kim on Saturday, January 14, 2012 at 6:38pm.

Write a program the 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: Compute Total() and access methods (SetHours(), GetHours(), SetRate(), GetRate(), Set Total(), and Get Total()) for each of the attributes

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Members