哪位大神帮忙看一下
public class HelloWorld {
public static void main(String[] args) {
int score = 94;
String sex = "女";
if(score>80){
if(sex.equals(“女”))
System.out.println("进入女子组决赛");
}else{
System.out.println("进入男子组决赛");
}
}
}
public class HelloWorld {
public static void main(String[] args) {
int score = 94;
String sex = "女";
if(score>80){
if(sex.equals(“女”))
System.out.println("进入女子组决赛");
}else{
System.out.println("进入男子组决赛");
}
}
}
2019-03-16
举报