Answers for "write a function in swift"

2

declare function in swift

func greet(person: String) -> String {
    let greeting = "Hello, " + person + "!"
    return greeting
}
Posted by: Guest on February-11-2021

Code answers related to "write a function in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language