I have a code below, but I am yielding an error that says
missing return in a function expected to return 'String'
func returnMultipleGreetings (name: String...) -> String {
for names in name {
return names
}
}
How do I edit this code to remove the error?