Sunday
May 26, 2013

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

No one has answered this question yet.

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 ...
Programming in c++ - Write a program in c++ that inputs a number [1-12] from the...
computer programming - small startup software developer company needs to create ...
programing - A small startup software developer company needs to create a ...
programing - small startup software developer company needs to create a program...
devry - A small startup software developer company needs to create a program ...
programming - write a payroll program that promt a user to enter his name,hourly...
Programming C# - Write a program that prompts the user for a name, social ...

For Further Reading

Search
Members
Community