写了一半看看有没有错
public class HelloWorld {
public static void main(String[] args) {
int score = 94;
String sex = "女";
if(score<80){
System.out.println("决赛");
}else if(sex=="男"){
System.out.println("男决赛");
}
public class HelloWorld {
public static void main(String[] args) {
int score = 94;
String sex = "女";
if(score<80){
System.out.println("决赛");
}else if(sex=="男"){
System.out.println("男决赛");
}
2017-06-26
举报