Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
else if statement
class Rextester { public static void main(String[] args) { int age = 16; /* == * != * < * > * <= * >= */ if(age>=18){ System.out.println("Allowed to Enter"); } else if (age==17){ System.out.println("You Got 10 minutes"); } else{ System.out.println("Enter Denide"); } // kakoe chislo bolshe /* int a = 10; int b = 15; int c = 52; if(a>b && a>c){ System.out.println("a is greatest"); } else if(b>c){ System.out.println("b is greatest"); } else{ System.out.println("c is greatest"); } */ } }
run
|
edit
|
history
|
help
0
Triangle
MinMaxArray
ArrayOperation
1a
jb6.13 varargs
Extracting Value from a String that contains key value pairs
1_Arpansubba_Lincoln.java
Printing
Leetcode 17. Letter Combinations of a Phone Number
jb15.0