what is the point,god?
int score=94;
String sex="女";
if(score>80){
if(sex.equals("男")){
{System.out.println("进入男子决赛");}
else
{System.out.println("进入女子决赛");}
}
}else
{System.out.println("淘汰");}第四行后面多了一个“{”,第七行后面一个“}”
好的,知道了。之前是我理解有误,谢谢!