What is the syntax for creating a function?
func function_name( [parameter list] ) [return_types] {
// the body of the function
}
BY Best Interview Question ON 13 Jan 2019
func function_name( [parameter list] ) [return_types] {
// the body of the function
}