We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9a591 commit 2166584Copy full SHA for 2166584
BitManipulation/even_odd/evenOdd.cpp
@@ -0,0 +1,9 @@
1
+#include <iostream>
2
+using namespace std;
3
+int main()
4
+{
5
+ int n;
6
+ cout<<"Enter any number: "<<endl;
7
+ cin>>n;
8
+ cout<< (n&1?"Number is Odd":"Number is Even")<<endl;
9
+}
0 commit comments