func sayHelloToStudent(student: String) {
print("Hello, \(student)!")
}
sayHelloToStudent(student: "Sunny")
결과값
Hello, Sunny!
'Programming > Swift' 카테고리의 다른 글
Enumeration (열거형: list) (0) | 2020.10.13 |
---|---|
상수 constant (0) | 2020.10.13 |
Introduction to Functions (0) | 2020.10.12 |
Apple's Basic Operators documentation for Swift (0) | 2020.10.08 |
Expressions (0) | 2020.10.08 |