double max(double a,double b,double c)
{
if(a>b && a>c) return a;
if(b>a && b>c) return b;
returnc;
}
double min(double a,double b,double c)
{
if(a<b && a<c) return a;
if(b<a && b<c) return b;
returnc;
}
double max(double a,double b,double c)
{
if(a>b && a>c) return a;
if(b>a && b>c) return b;
returnc;
}
double min(double a,double b,double c)
{
if(a<b && a<c) return a;
if(b<a && b<c) return b;
returnc;
}