Question: [C++] Consider the segment of code in Figure 1 below and answer questions A and B A . Write the lines of code that must
[C++]
Consider the segment of code in Figure 1 below and answer questions A and B A. Write the lines of code that must be included in the main program for the HF1 and HF2 objects to: - Activate the overloaded operator of the HowFar class. - Activate the displayHowFar function of the HowFar class
B. What would the output of the program be once you write the code requested in question 1 above?
Figure 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
