Modulo help


#1

Can anyone help me with this. Every time I am getting answers
Oops, try again. Did you console.log() the result of 14 % 3 ?
What's wrong with this????

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


#2

The only thing I can see is that all your console.log are commented with the double /. If you have that in your code get rid of the slashes to have your code "come alive" and work.


#3

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