package com.imooc;
import java.util.Scanner;
public class match {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.println("Please input the score:");
int score=input.nextInt();
System.out.println("Please input the sex:");
String sex=input.next();
//int score=99;
if(score>80) {
if(sex=="m")
System.out.println("Enter the man's final!");
else
System.out.println("Enter the woman's fanal!");
}
else {
System.out.println("out!");
}
}
}
产品经理不是经理
相关分类