Untitled
unknown
plain_text
2 years ago
253 B
6
Indexable
#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";
}
Editor is loading...
Leave a Comment