subject
Computers and Technology, 06.06.2021 23:00 Shubbs

Complete the following tasks: 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. • Include overloaded extraction and insertion operators that get and display a Job's values. • 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. • Write a main()function demonstrating that all the functions work correctly. Sample Run Enter job number 1234 Hours to complete 20 Rate per hour 12 Enter job number 4567 Hours to complete 40 Rate per hour 11 The difference between Job #1234 20 hours at $ 12 per hour and Job #4567 40 hours at $ 11 per hour is -20 hours Enter job number 6789 Hours to complete 30 Rate per hour 15 Enter job number 4563 Hours to complete 15 Rate per hour 20 The difference between Job #6789 30 hours at $ 15 per hour and Job #4563 15 hours at $ 20 per hour is 15 hours

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
What computer network component allows data transfers from one computer to another through a telephone line?
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
question
Computers and Technology, 22.06.2019 21:00
The average cost of one year at a private college in 2012-2013 is $43,289. the average grant aid received by a student at a private college in 2012-2013 is $15,680.   what is the average student contribution for one year at a private college in 2012-2013?
Answers: 3
question
Computers and Technology, 24.06.2019 14:30
Two students are discussing the flow of electricity. student a says that voltage is a measure of the amount of electron flow in a circuit. student b says that power is the product of voltage and current. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
You know the right answer?
Complete the following tasks: Design a Job class with three data fields-Job number, time in hours t...
Questions
question
Mathematics, 07.05.2021 01:00
question
Mathematics, 07.05.2021 01:00
question
Mathematics, 07.05.2021 01:00
question
Chemistry, 07.05.2021 01:00