Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Odd
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 Import Java.util.Scanner; Class OddOreven { Public static void main(string args[]) { Int X; System.out.println(" Enter an integer to check even or odd:"); Scanner in = new scanner(system.in) x=in.nextint(); If(x%2==0); System.out.println("the no is even"); else System.out.println("the no is odd"); } }
run
|
edit
|
history
|
help
0
Vasanth Selvaraj
Factorial using recursion in java
PE #5
switching light bulbs
1a
test1
MP8 game
1(B)
Leetcode 937. Reorder Log Files๐ฎ๐ณ๐ฎ๐ณ๐ฎ๐ณ
Problem: on_off