import java.util.*;
public class Aaa {
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
System.out.println("输入成绩");
int score = in.nextInt();
System.out.println("输入性别'男'或'女'");
String sex = in.next();
if (score>80){
if (sex.equals("女"))
{
System.out.println("女子组决赛");
}
else{
System.out.println("男子组决赛");
}
}
else{ System.out.println("淘汰");}
}
努力提升
相关分类