Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ifelsenested
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { int x= 30; int y=70; if (x>20) { if (y>60) { System.out.println ("you are selected in airforce"); } else{ System.out.println ("wrong");} if (x<20) { System.out.println ("you are not eligible for apply");} else{ System.out.println (" thanks for coming");} }} }
run
|
edit
|
history
|
help
-1
Sum of EVEN and ODD nubmers (11 grade)
Problem: binary
Problem: fb_series
// Java Coding Challenge - 08: Reversing a Number using StringBuilder
javaLP
ekse
쓰레드 critical section
Borrowing class
Rotate matrix clockwise
3rd