public class HelloWorld { public static void main(String[] args) { int score = 94; String sex = "女"; if(score>=82&&sex=="女") System.out.println("进入女子决赛组"); else if(score>=82&&sex=="男") System.out.println("进入男子决赛组"); else System.out.println("不能进入决赛");