Write a driver program that uses the function template in Exercise 3 to find the median of:
(a) three ints;
(b) three floats;
(c) three doubles.
(d) Try it with three complex values. What happens and why?
Exercise 3
The median of three numbers is the middle number after the three numbers have been arranged in increasing order. Write a function template that finds the median of three values.