Question: Four doubles are read from input, where the first two doubles are the working hours and vacation hours of punchCard 1 and the second two
Four doubles are read from input, where the first two doubles are the working hours and vacation hours of punchCard and the second two doubles are the working hours and vacation hours of punchCard Complete the function to overload the operator.
Ex: If the input is then the output is:
working hours, vacation hours working hours, vacation hours Difference: working hours, vacation hours
Note: The difference of two time cards is:
the difference of the number of working hours
the difference of the number of vacation hours
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
