编写重载函数max1可分别求取2个整数,3个整数以及两个,三个双精度数的最大值

发布时间:2021-03-07 22:59:58

编写重载函数max1可分别求取2个整数,3个整数以及两个,三个双精度数的最大值

网友回答

int max1(int a,int b,int c){…}
int max1(int a,int b){…}
double max1(double a,double b){…}
double max1(double a,double b,double c){…}
以上问题属网友观点,不代表本站立场,仅供参考!