Tuesday
August 4, 2015

Homework Help: Programming

Posted by Brenda on Tuesday, January 10, 2012 at 4:15pm.

Write a program that inputs (from the user) the number of hours worked and hourly rate for employees and outputs the total pay. The program should process an arbitrary number of employees; the user will terminate input by entering 0 hours worked and pay rate. Use a class called worker with:
Attributes: Hours, Rate, Total
Methods: ComputeTotal ( ) and access (SetHours ( ), GetHours ( ),
SetRate ( ), GetRate ( ), and GetTotal( )) for each of the attributes

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Members