CECS 275 Lab 3 solution

$25.00

Original Work ?

Download Details:

  • Name: Lab3-xtx8wu.zip
  • Type: zip
  • Size: 9.75 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

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.