Jaskanwar Singh
Aspiring Novelist
why wont this print any value?
Code:
public static void main(String[] args) {
// TODO code application logic here
int a = 5, b = 10;
if(a>5)
if(b>5) {
System.out.println("b is "+b);
}
else
System.out.println("a is "+a);
}