square root of number in swift code example Example: square root swift let result = sqrt(25) print(result)