-tanx function code example
Example: functions
A function is a reusable set of statements to perform a task or calculate a value.
Functions can be passed one or more values and can return a value at the end of their execution.
In order to use a function, you must define it somewhere in the scope where you wish to call it.