Math and the modulo


#1

// Below is an example of printing the remainder of 18/4 using modulo:
// console.log(18 % 4);
console.log if(14 % 3);
console.log if (99 % 8);
console.log if (11 % 3)


#2

Study the example closely, then compare it to your submitted code. See any difference?


#3

oh, now i see it.. the IF doesn't need to be in there


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.