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
Street light
multiplo de 4 y 6
fizzbuzz
Municipiu_Problema_2_Palindrome
java palindrome check
4a
updated
Bubble Sort
JAVA # Günlük Maaş Hesaplama
Account JAVA Cpa