6 lines
164 B
Plaintext
6 lines
164 B
Plaintext
![]() |
[source,swift]
|
||
|
----
|
||
|
func divide(numerator:Int, denominator:Int) -> Int {
|
||
|
return numerator / denominator // FIXME denominator value might be 0
|
||
|
}
|
||
|
----
|