We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ede3c7 commit fe6ed36Copy full SHA for fe6ed36
1 file changed
EvenROdd.java
@@ -0,0 +1,11 @@
1
+import java.util.Scanner;
2
+class EvenROdd{
3
+ public static void main(String[] args){
4
+ Scanner sc=new Scanner(System.in);
5
+ int num=sc.nextInt();
6
+ if(num%2==0)
7
+ System.out.println("Even");
8
+ else
9
+ System.out.println("Odd");
10
+ }
11
+}
0 commit comments