Modulus by 3?
Currently on the mobile phone, modulus is so confusing at time or I'm just tired.
Tell me if I am or am not on the right track here please.
3 branches
PHP:
if ($hour % 3 = 0) { mail(cpt1) }
if ($hour % 3 = 1) { mail(cpt2) }
if ($hour % 3 = 2) { mail(cpt3) }
4 branches
PHP:
if ($hour % 4 = 0) { mail(cpt1) }
if ($hour % 4 = 1) { mail(cpt2) }
if ($hour % 4 = 2) { mail(cpt3) }
if ($hour % 4 = 3) { mail(cpt4) }