Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Function Parameters

func addNumbers(a: Int, b: Int) {
  var sum = a + b
  print("Sum:", sum)
}

addNumbers(a: 2, b: 3)
 
PREVIOUS NEXT
Tagged: #Swift #Function #Parameters
ADD COMMENT
Topic
Name
2+8 =