Monday
April 21, 2014

Homework Help: OOP PROGRAMMING

Posted by kim on Saturday, January 14, 2012 at 6:38pm.

Write a program the 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 pay rate. Use a class called Worker with

Attributes: Hours, Rate, Total
Methods: Compute Total() and access methods (SetHours(), GetHours(), SetRate(), GetRate(), Set Total(), and Get Total()) for each of the attributes

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Programming in c++ - Write a program in c++ that inputs a number [1-12] from the...
Oop programming - Write a program that inputs (from the user) the number of ...
C Programming - Write a program that prompts the user to enter a temperature, ...
Programming - Write a pseudocode program that asks the user for an integer ...
Programming - Write a program that inputs (from the user) the number of hours ...
programming - 1. Develop a menu-driven program that inputs two numbers and, at ...
IT210 - OOP is definitely the latest trend in the IT world. But when comparing ...
programming - Write a C++ code to count the number of characters, words, and ...
Computer programming - Sorting is a common operation used in programming. ...
business - the proper question would be whats the difference between OOP(object ...

Search
Members