You are viewing a single comment's thread. Return to all comments →
List<Integer> result = new ArrayList<>(); grades.forEach(g -> { Integer multiple = ((int)(g / 5))*5 + 5; if(g < 38 || multiple - g >= 3) result.add(g); else{ result.add(multiple); } }); return result;
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 →