Untitled
unknown
c_cpp
a year ago
244 B
0
Indexable
Never
#include <iostream> #include <string> using namespace std; int main() { int a; cin >> a; float b = a / 2.0; int b1 = a / 2; if (b - b1 == 0 and b1 % 2 == 0) { cout << "YES"; } else { cout << "NO"; } }