Wednesday
September 3, 2014

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 ...
programing - A small startup software developer company needs to create a ...
computer programming - small startup software developer company needs to create ...
devry - A small startup software developer company needs to create a program ...
programing - small startup software developer company needs to create a program...
programming - A small startup software developer company needs to create a ...
Programming C# - Write a program that prompts the user for a name, social ...
computers - I have just started a basic class in programming and I am totally ...

Search
Members