Saturday
March 28, 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

Oop programming - Write a program that inputs (from the user) the number of ...
OOP PROGRAMMING - Write a program the inputs (from the user) the number of hours...
computer Programming - A small startup software developer company needs to ...
devry - A small startup software developer company needs to create a program ...
computer programming - small startup software developer company needs to create ...
programing - small startup software developer company needs to create a program...
programing - A small startup software developer company needs to create a ...
Programming in c++ - Write a program in c++ that inputs a number [1-12] from the...
Programming with Eclipse - Design, implement, test, and debug an application to ...
programming - A small startup software developer company needs to create a ...

Members