题目内容
以下代码的空白处应填写__________。publicclassTest{publicstaticvoidmain(String[]args){System.out.print("Thegradeis");printGrade(78.5);System.out.print("Thegradeis");printGrade(59.5);}publicstatic__________printGrade(doublescore){if(score>=90.0){System.out.println('A');}elseif(score>=80.0){System.out.println('B');}elseif(score>=70.0){System.out.println('C');}elseif(score>=60.0){System.out.println('D');}else{System.out.println('F');}}}
查看答案
搜索结果不匹配?点我反馈