#include<stdio.h>
#include<math.h>
int max(int x,int y);
void main()


    int x,y,z;
    printf("input two numbers:");
    scanf("%d %d",&x,&y);
    z=max(x,y);
    printf("z=%d",&z);
    

}
int max(int x,int y)
{
    if(x>y)
        return x;
    else
        return y;
}
出错信息
--------------------Configuration: w1 - Win32 Debug--------------------
Linking...
2.obj : error LNK2005: _main already defined in 1.obj
Debug/w1.exe : fatal error LNK1169: one or more multiply defined symbols found
执行 link.exe 时出错.

w1.exe - 1 error(s), 0 warning(s)
 

哪位知道的帮帮我这个纯菜鸟吧!!!