3-2

# include<stdio.h>
int main(void)
{
    int number;
    printf("Enter a number:");
    scanf("%d",&number);
    if(number%2==0){
        printf("The number is even.\n");
    }
    else{
        printf("The number is add.\n");
    }
    return 0;
}

posted @ 2013-10-05 18:05  傻子疯子捏子  阅读(126)  评论(0编辑  收藏  举报