Untitled

mail@pastecode.io avatar
unknown
plain_text
18 days ago
253 B
0
Indexable
Never
#include <iostream>
#include <cmath>
using namespace std;
bool chetnost(int x) 
{
	if (x % 2 == 0) {
		return 1;
	}
	return 0;
}
int main()
{
	int x;
	cin >> x;
	if (chetnost(x) == 1) {
		cout << "TRUE";
	}
	else cout << "FALSE";
}

Leave a Comment