CECS 275 Lab 3 solution

$25.00

Category:

Description

5/5 - (4 votes)

Problem:

Rewrite the solution to Lab 2 with the following changes:

  1. Add a function called PrintHeader. It has no parameters. Its sole task is to print to the screen the header ID HOURS   RATE      WAGES
  2. Add a function that computes the gross pay (wages). Pass to it hours and rate. Return wages from it.
  3. Add a function that prints each line of output: that is, ID hours, rate, and wages
  4. 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.