Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift if

let number = 10

// check if number is greater than 0
if (number > 0) {
  print("Number is positive.")
}

print("The if statement is easy")
 
PREVIOUS NEXT
Tagged: #Swift
ADD COMMENT
Topic
Name
9+9 =