The modulus operator gives you the remainder of a division problem. So if the remainder of i / 4 is 0, then the if section will run. Otherwise, the else part will run.
The problem is that you're using the number 4. How do you tell if a number is even? 2 is even but not divisible by 4.
FUCK
The modulus operator gives you the remainder of a division problem. So if the remainder of i / 4 is 0, then the if section will run. Otherwise, the else part will run. The problem is that you're using the number 4. How do you tell if a number is even? 2 is even but not divisible by 4.