Computers and Technology
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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:40, cutybrain6054
Sarah is having a hard time finding a template for her advertising business that she may be able to use at a later date and also make it available to her colleagues
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, Molly05
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is 50e0bf08e5b671@ualwgypg91wa5wl. uzo9kbud3qjwddygd5.vng -
Answers: 1
image
Computers and Technology, 23.06.2019 06:40, euniceyi56
How many nibbles can be stored in a 16-bit word?
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, abdulbasharee99
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
Do you know the correct answer?
Complete the following tasks: Design a Job class with three data fields-Job number, time in hours t...

Questions in other subjects:

Konu
Mathematics, 23.11.2020 20:30