C语言 新手 不知道怎么错了
#include<stdio.h>int max(int a,int b);
main()
{
int x,y,z;
int max(int a,int b);
printf("input two number:\n");
scanf("%d,%d",&x,&y);
z=max(x,y);
printf("maxmum=%d",z);
}
int max(int a,int b);
{
if(a>b);
return a;
else return b;
}
F:\math\math.c(13) : error C2449: found '{' at file scope (missing function header?)