main()
{floatx,max,min;
scanf("%f",&x);
____
while(____)
{if(x>max)max==x;
if(x
}
printf("\nmax=%f\nmin=%f\n",max,min);
}
【正确答案】:max=min=x; x>=0.0或!(x<0) scanf("%f",&x);
____
while(____)
{if(x>max)max==x;
if(x
}
printf("\nmax=%f\nmin=%f\n",max,min);
}">
____
while(____)
{if(x>max)max==x;
if(x
}
printf("\nmax=%f\nmin=%f\n",max,min);
}">