Int X,y
X= 15,y = 10
If( X>y) { if ( y>5 )
System.out.println( "Y ="+y);
}
else
System.out.printl(" X="+ X);
Answers
Answered by
1
Y= 10 will be the output.
hope it is helpful.
Similar questions