summaryrefslogtreecommitdiff
path: root/4p6.cpp
diff options
context:
space:
mode:
Diffstat (limited to '4p6.cpp')
-rw-r--r--4p6.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/4p6.cpp b/4p6.cpp
new file mode 100644
index 0000000..e7465f6
--- /dev/null
+++ b/4p6.cpp
@@ -0,0 +1,22 @@
+#include <iostream>
+
+/*
+ *
+ * 4.6
+ *
+ *
+ */
+
+int main () {
+
+ int input;
+ if(std::cin >> input) {} else { return -1; }
+
+ if(input % 2 == 0) {
+ std::cout << "Even" << std::endl;
+ } else {
+ std::cout << "Odd" << std::endl;
+ }
+
+ return 0;
+}