February 27, 2017

Homework Help: Oop programming

Posted by Geno on Saturday, January 22, 2011 at 2:34pm.

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 rate of pay. Use a class called Worker as follows:

Attributes: Hours, Rate, Total

Methods: ComputeTotal and access methods for each of the attributes

Answer This Question

First Name:
School Subject:

Related Questions

More Related Questions