define a generic function called getminimumvalue () that takes as input three items of the same type and finds the minimum value of the three. use a template function to ensure that it works for any type used. define a generic function called getmaximumvalue() that takes as input three items of the same type and finds the maximum value of the three. again, use a template function to ensure that it works for any type used.