Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
274 B
0
Indexable
Never
#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;
		}
	}
}
Leave a Comment