You are viewing a single comment's thread. Return to all comments →
public static List<Integer> gradingStudents(List<Integer> grades) { return grades.stream().map(elem -> { int module = 5 - (elem % 5); return elem >= 38 && module < 3 ? elem + module : elem; }).collect(Collectors.toList()); }
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 →