public class HelloWorld {
public static void main(String[] args) {
int score = 94;
String sex = "女";
if(score > 80){
if(sex == "女"){
System.out.println("进入女子组决赛");}
else if(sex == "男") {
System.out.println("进入男子组决赛");}
}
else {
System.out.println("淘汰");}
}
}
wangxingg
2014-11-02
举报
0/150
提交
取消