[求助]帮我看下哪里错了?
#include <stdio.h>#include <math.h>
int max(int x,int y)
{return(x>y? x:y);}
main()
{int num1,num2;
printf("Input the first integer number: ");
scanf("%d",&num1);
printf("Input the second integer number: ");
scanf("%d",&num2);
printf("max=%d\n",max(num1,num2));
}
我用的C-Free,不知道为什么,可以运行,但不能输出结果??