Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
else weird
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { int x=0; int a = 5; int b = 5; if (a > 0) if (b < 0) x = x + 5; else if (a > 5) x = x + 4; else x = x + 3; // x=3 else x = x + 2; // Ignored . System.out.println(x); // Output:3 } }
run
|
edit
|
history
|
help
0
Find Case Combinations of a String
exp5
Problem: rstring
output1
PE #6
PE #8
checkingWord
reverse integer
Find Median in Large File of Integers
Problem_rstring