Untitled
Anonymous
c_cpp
11/25/2023 11:21 AM
368 B
16
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