Untitled

mail@pastecode.io avatar
unknown
c_cpp
23 days ago
287 B
1
Indexable
Never
#include <iostream>
using namespace std;

int falsetrue(int a) {
	if (a % 2 == 0) {
		return true;
	}
	else {
		return false;
	}
		
	
}
	

int main()
{
	int a;
	cin >> a;

	if (falsetrue(a)) {
		cout << "true" << endl;
	}
	else {
		cout << "false" << endl;
	}
}
Leave a Comment