diff --git a/evenodd.cpp b/evenodd.cpp new file mode 100644 index 0000000..db15589 --- /dev/null +++ b/evenodd.cpp @@ -0,0 +1,9 @@ +#include +using namespace std; +void evodd(int a) +{ + if (a % 2 == 1) + cout << "odd"; + else + cout << "even"; +}