Description
Problem:
Rewrite the solution to Lab 2 with the following changes:
- Add a function called PrintHeader. It has no parameters. Its sole task is to print to the screen the header ID HOURS RATE WAGES
- Add a function that computes the gross pay (wages). Pass to it hours and rate. Return wages from it.
- Add a function that prints each line of output: that is, ID hours, rate, and wages
- Add a function that print the total wages message and the total wages value.
Deliverables:
Submit the cpp file to the dropbox Lab 3 on BB.