https://i1.wp.com/eblogarithm.com/wp-content/uploads/2016/10/A-Watermelon-CodeForces-4A-solution-using-C.png?fit=640%2C360

A. Watermelon CodeForces 4A solution using C

Hi Guys , I just solved the A. Watermelon problem In CodeForces Using C . I hope you like it , if you know any better way or in any other language feel free to comment .

 #include<stdio.h>

int main()
{
int x;
scanf(“%d”,&x);
if(x%2==0 && x>2)
{
printf(“YES”);
}
else
{
printf(“NO”);
}
return 0;
}

(Visited 308 times, 1 visits today)



There are no comments

Add yours

Leave a Reply

%d bloggers like this: