You are viewing a single comment's thread. Return to all comments →
Swift simple line
return grades.map { $0 >= 38 && ($0 / 5 + 1) * 5 - $0 < 3 ? ($0 / 5 + 1) * 5 : $0}
Seems like cookies are disabled on this browser, please enable them to open this website
Grading Students
You are viewing a single comment's thread. Return to all comments →
Swift simple line