Untitled

mail@pastecode.io avatar
unknown
c_cpp
14 days ago
256 B
1
Indexable
Never
#include <iostream>
#include <cmath>
using namespace std;
bool ch(int a) 
{
	if (a % 2 == 0) 
		return true;
	else 
		return false;
}
int main()
{
	int a;
	cin >> a;
	if (ch(a) == true)
		cout << "chetnoe";
	else
		cout << "ne chetnoe";
}
Leave a Comment