I need to round of a number (the input is guaranteed to be an integer & is positive) to the next multiple of 5.
I tried this:
int round = ((grade
int mod = grades[j] % 5; int round = grades[j] - mod; if (mod > 0) { round += 5; }