import javax.swing.JOptionPane; public class Group2 { public static void main(String[] args) { int a = Integer.parseInt(JOptionPane.showInputDialog("Please input a int: ")); int b = Integer.parseInt(JOptionPane.showInputDialog("Please input a int: ")); if( a<10 && (b>10 || a==4) ) { System.out.println("true"); }else{ System.out.println("false"); } } }