Hay, how would i go about rounded a number up the nearest multiple of 3?
ie
25 would return 27 1 would return 3 0 would return 3 6 would return 6 >
Using remainder operator (modulus):
(n - 1 - (n - 1) % 3) + 3