第五章例5-2

int event(int n)
{
    if(n%2==0)
        return 1;
    else
        return 0;
}
原文地址:https://www.cnblogs.com/wuyanlong/p/3349990.html