Untitled

Anonymous
c_cpp
02/11/2024 8:55 AM
344 B
28
Indexable
#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";
}
Editor is loading...
Leave a Comment