有大佬知道問題出在哪里嗎?
public class HelloWorld {
? ? public static void main(String[] args) {
int score = 94;
String sex = "女";
? ? ? ? if (score > 80) {
? ? ? ? ? ? ifu (sex.equals("男")) {
? ? ? ? ? ? ? ? System.out.printl("進入男子總決賽");
? ? ? ? ? ? }else {
? ? ? ? ? ? ? ? System.out.printl("進入女子總決賽");
? ? ? ? ? ? }else {
? ? ? ? ? ? ? ? System.out.println("淘汰");
? ? ? ? ? ? }
? ? ? ? }
? ? ? ??
? ? ? ??
? ? ? ??
? ? ? ??
? ? ? ??
? ? ? ??
? ? ? ??
? ? ? ??
? ? ? ??
}
}
2020-10-18
ifu改成if
2020-03-17
哈哈哈,粗心大意了,抱歉
2020-03-17
if --if else --if else--...---else?
2020-03-17
ifu????