funcDefines a function.Syntaxfunc name(p type) returnType { }DescriptionParameter type comes AFTER the name. Return type is specified after the parentheses.ExampleLoading editor…▶ Try it yourselfExpected output25When to use?Preventing code repetition.Related commandsMultiple returnVariadic (...)Multiple return →