Functions
Functions are used to group a block of code that can be executed multiple times. They are declared using the fun
keyword.
Parameters
Functions can take arguments. These are the values that are passed to the function when it is called:
Return
Functions can return a value using the return
keyword: