这代码错在那?
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.ou.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.ou.println("女决赛");
}else{
System.out.println("淘汰");}
}
}
}
2016-05-26
举报