c++ 函数模板求数组中的最大值
Problem Description设计一个函数模板,能够从int、char、float、double、long等类型的数组中找出最大值元素。//你的代码将嵌在这里int main(){int ai[6] = { 10,21,-31,13,6,0 };char ac[4] = { ‘a’,‘U’,’*’,‘8’ };float af[5] = { 1.2F,6.32F,-6.2F,0.2F,92.3F };double ad[3] = { 3.2,95.123,-3.12 };long