diff --git a/Even-Odd.cpp b/Even-Odd.cpp new file mode 100644 index 0000000..d20b495 --- /dev/null +++ b/Even-Odd.cpp @@ -0,0 +1,13 @@ +#include +using namespace std; +int main() { + int a; + cout << "Enter the number: "; cin >> a; + if (a % 2 == 0) { + cout << "The given number is EVEN" << endl; + } + else { + cout << "The given number is ODD" << endl; + } + return 0; +}