Codeforces 4A. Watermelon Solution

in codeforcessolution •  2 years ago 

Codeforces 4A. Watermelon Solution
https://freecodecenter.com/codeforces-4a-watermelon-solution-in-c-c/
Solution in C
#include<stdio.h>
int main(){
int w;
scanf("%d",&w);
if(w%2==0 && w>3){
printf("YES\n");
}
else{
printf("NO\n");
}

return 0;

}
Solution in C++ click here: https://freecodecenter.com/codeforces-4a-watermelon-solution-in-c-c/

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!