Problem Solving Solutions

1 min read

I don't have much knowledge about C++ programming right now, but I'm starting my competitive programming (CP) journey with it. Since I have some experience with C, I believe I can handle the transition. Day by day, I’ll keep improving for sure! 🚀
-
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x % 2 == 0 && x > 2) cout << "YES" << endl; else cout << "NO" << endl; }
0
Subscribe to my newsletter
Read articles from NO CODE directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
