这3个重载函数的定义
int max(int a,int b)
{
return a>b?a:b;
}
float max(float a,float b)
{
return a>b?a:b;
}
double max(double a,double b)
{
return a>b?a:b;
}
#include
using namespace std;
int max(int a,int b)
{
return a>b?a:b;
}
float max(float a,float b)
{
return a>b?a:b;
}
double max(double a,double b)
{
return a>b?a:b;
}
void main()
{
cout<