You are viewing a single comment's thread. Return to all comments →
may be this also Goooddddddd
int[] result = grades;
for (int i = 0; i < grades.Length; i++) { if (grades[i] >= 38) { if (5 - (grades[i]%5) < 3) { result[i] = (5-grades[i]%5) + grades[i]; } } } return result;
Grading Students
You are viewing a single comment's thread. Return to all comments →
may be this also Goooddddddd
int[] result = grades;