编程错误 求解
int max(int a,int b);main()
{
int x,y,z;
int max(int a,int b);
printf("input two numbers:\n");
scanf("%d %d",&x,&y);
z=max(x,y);
printf("maxmum=%d",z);
}
int max(int a,int b)
{
if(a>b)returm a;else returm b;
}
错误:E:\VC++\Project\Dos Tf H1\H1.CPP(13) : error C2146: syntax error : missing ';' before identifier 'b'
执行 cl.exe 时出错.