Concept Flow - Function declaration syntax
Start
Write 'fun' keyword
Name the function
Add parentheses ()
Optional: Add parameters inside ()
Optional: Specify return type after ':'
Write function body inside curly braces {}
Function ready to be called
End
This flow shows the steps to write a Kotlin function: start with 'fun', name it, add parameters and return type if needed, then write the body.