Untitled
unknown
c_cpp
2 years ago
274 B
3
Indexable
#include <iostream> using namespace std; int main() { setlocale(LC_ALL, "Russian"); int t, a; cin >> t; for (int i = 0; i < t; i++) { cin >> a; if (a % 2 == 0 and a % 4 == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } } }
Editor is loading...
Leave a Comment