Remainder Operator

Basic Operators in Swift Addition (+) Subtraction (-) Multiplication (*) Division (/)  Remainder Operator (%)     (similar to the Mod or Modulo operator in some other languages) The Remainder Operator Here is a brief explanation of the remainder operator (%) as it works in the Swift language, quoted from Swift’s website: The remainder operator (a % … Continue reading “Remainder Operator”