Write a program that 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: ComputeTotal() and access methods (SetHours(), GetHours(),
SetRate(), GetRate(), SetTotal(), and GetTotal()) for each of the
attributes
Kcollier 0 Newbie Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.