**func** printInstructorsname() {
print("Sean Allen")
}
func printInstructors(name: String) {
print(name)
}
printInstructors(name: "Sean Allen")
we added a variable with type inside the function.
func add(firstNumber: Int, to secondNumber: Int) -> Int {
let sum = firstNumber + secondNumber
return sum
}
print(add(firstNumber: 23, to: 32))
a function that takes two parameter (numbers), adds them and returns them
For return function to work define the data type.
with override functions there will always be use of super.