這串代碼哪里錯了啊
public class HelloWorld{ ? ?public static void main(String[] args) { int score=68; String mark = (score >= 60) ? "及格" : "不及格"; System.out.println("考試成績如何:"+mark); } }這個代碼哪里錯了呢
public class HelloWorld{ ? ?public static void main(String[] args) { int score=68; String mark = (score >= 60) ? "及格" : "不及格"; System.out.println("考試成績如何:"+mark); } }這個代碼哪里錯了呢
2017-09-16
舉報
2017-09-16
你的分號 是中文輸出法的分號
2017-09-17
問題已解決,謝謝