Untitled
unknown
plain_text
a year ago
259 B
4
Indexable
#include <iostream> #include <cmath> using namespace std; bool one(int a){ if (a % 2 == 1) { return 0; } else { return 1; } } int main(){ int a; cin >> a; if (one(a) == 1) { cout << "YES"; } else { cout << "NO"; } }
Editor is loading...
Leave a Comment