{求助} 看下代码哪里错了
/*任意输入两个数 显示大的*/
#include<stdio.h>
main()
{
int num1,num2,num,max();
printf("input two numbers:\n");
scanf("%d%d\n",&num1 &num2);
num=max(num1,num2);
printf("max=%d\n",num);
}
max(int x,int y)
{
int z;
if(x>y);
else
z=x;
z=y;
return(z);
}