mod.bmx 136 B

1234567
  1. Rem
  2. Mod is a mathematical operator that performs the Modulo function.
  3. End Rem
  4. For i=6 to -6 Step -1
  5. Print i+" Mod 3="+(i Mod 3)
  6. Next