Write a program that uses a templatized function to find the maximum and minimum of three values. Test your function with integers, characters, and doubles.
Note 1: Since your function must return two values and a function can only return one value you must pass some variables in by reference so that the max and min values can be used by the calling function (in our case, main() ).
Note 2: This does not require the use of classes. We will revisit template classes when we talk more about classes.