Write a C++ program using a function template that can find…
Write a C++ program using a function template that can find the maximum of three values of different data types. The function template should allow the same function to work with data types such as int, double, and char. Your program should define a function template that accepts three arguments and returns the largest value among them. Test the function with different data types and display the results. Example Output: Maximum of 10, 25, and 15 is: 25 Maximum of 4.5, 8.2, and 6.7 is: 8.2 Maximum of A, Z, and M is: Z