write a program that input from the user the


Write a program that input (from the user) the number of hours worked and hours pay rate for employees and output 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:

a)    Attributes: Hours, Rate, Total

b)    Methods: ComputeTotal and access methods (SetHours, GetHours, SetRate, SetTotal and GetTotal) for each of the attributes.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: write a program that input from the user the
Reference No:- TGS0211315

Expected delivery within 24 Hours