Tuesday, 1 March 2016

Codeforces Problem : 4A - Watermelon


Problem Link : http://codeforces.com/problemset/problem/4/A

Solve:

#include<stdio.h>

int main()
{
    int w;

    scanf("%d",&w);

    if(w%2==0 && w>2)
        printf("YES\n");
    else
        printf("NO\n");

    return 0;
}

No comments:

Post a Comment