Algorithm
Code Examples
#1 Code Example with C++ Programming
Code -
C++ Programming
#include<iostream>
using namespace std;
int main(){
int w;
cin>>w;
if(w%2 == 0 && w>2){
cout<<"YES";
}
else{
cout<<"NO";
}
return 0;
}
Copy The Code &
Try With Live Editor
Input
8
Output
YES
Demonstration
Codeforcess Solution 4-A A. Watermelon ,C++, Java, Js and Python ,4-A,Codeforcess Solution