RosettaCodeData/Task/Documentation/Swift/documentation.swift
2023-07-01 13:44:08 -04:00

9 lines
160 B
Swift

/**
Adds two numbers
:param: a an integer.
:param: b another integer.
:returns: the sum of a and b
*/
func add(a: Int, b: Int) -> Int {
return a + b
}