#include<stdio.h>
double dmax (double x, double y, double z);
int main()
{
double a,b,c;
printf("Input 3 number:\n");
scanf_s("%lf %lf %1f",&a,&b,&c);
printf("The max is:%f \n",dmax(a,b,c));
}
double dmax (double x, double y, double z)
{
if (x > y, x > z)
return x;
if (y > x, y > z)
return y;
if (z > x, z > y)
return z;
}