Problem

Complete the following tasks:a. Design a Job class with three data fields—Job number, time...

Complete the following tasks:

a. Design a Job class with three data fields—Job number, time in hours to complete the Job, and per-hour rate charged for the Job.


b. Include overloaded extraction and insertion operators that get and display a Job’s values.


c. Include overloaded + and – operators that return integers that indicate the total time for two Jobs, and indicate the difference in time between two Jobs, respectively.


d. Write a main()function demonstrating that all the functions work correctly. Save the file as Jobs.cpp.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT