I am writing a code that takes the two values you entered and determines which is the min and which is the max, The only problem is we are supposed to have exactly two formal parameters, each of type “reference to const double”;
amd return type “reference to double” (not “reference to const double”); in each function and I am really confused on how to write the code!! my Main code is: