..............
void main()
{
float min(float x,float y);
float a,b,m;
scanf("%f%f",&a,&b);
m=min(a,b);
printf("min is %d\n",m);
system("pause");
}
float min(float x,float y)
{
float z;
if(x<y)
z=x;
else
z=y;
return z;
}
printf("min is %d\n",m);
->
printf("min is %f\n",m);