DEV C++编译成功,但运行后出现**.exe已停止工作,这是怎么回事
intmain(){floatx,y;scanf("%f,%f",x,y);if(x>y)printf("max=%5.2f\n",x);elseprintf("max=...
int main()
{
float x, y;
scanf("%f, %f", x, y);
if(x>y)
printf("max=%5.2f\n", x);
else
printf("max=%5.2f", y);
return 0;
} 展开
{
float x, y;
scanf("%f, %f", x, y);
if(x>y)
printf("max=%5.2f\n", x);
else
printf("max=%5.2f", y);
return 0;
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询