scoreVector<-c(30,90,50,60,80) ifelse(scoreVector>=60,"及格", "不及格"). ## [1] ... 圈,不再執行之後的迴圈 } print(n) }. ## [1] 1 ## [1] 2 ## [1] 3 ## [1] 4.
確定! 回上一頁