class If6 {
public static void main( String args[] ) {
int a = 7;
int b = 1;
if ( ((a == 3) || ( b > 5))
|| ((a == 7) && ! (b < 4)) ) {
System.out.println( "Se cumple la condición" );
}
else {
System.out.println( "No se cumple la condición" );
}
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter