/*************************************/
func sayHello(name: String,age: Int){
print("your name is (name),age is (age)")
}
sayHello("cai",age: 18)
/*************************************/
func sayHello()->Int{
return 16
}
print (sayHello())
/*************************************/
func sayHello() {
print("abc")
}
sayHello()
/*************************************/
func sayHello(personName: String) -> String {
let greeting = "Hello, " + personName + "!"
return greeting
}
print(sayHello("caibin"))