Swift Tutorial

Swift Operators

Operators

Operators perform arithmetic, comparison, and logical operations on values.

print(10 % 3)
Try it Yourself
Run this SWIFT example in your local environment or course sandbox.