kennethjackson.net
Intermediate Swift – Chapter 2.2 Functions
import UIKit func displayPi() { print(“3.1415926535”) } displayPi() //Parameters func triple(value: Int) { let result = value * 3 print(“If you multiply \(value) by 3, you’l…