If Else

if (myNum == 33)
{
  print(myNum)
}
else if (myNum >33)
{
}
else
{
}

Notes:
- == is the comparison operator, = is the assignment operator

Comments

Popular posts from this blog

Rotation

Swift Basics - Sets

Things to consider when designing the user interface