Just like in other languages, we can also make our own functions in R. These are sets of instructions we can reuse as often as we want.

We call a function by typing its name followed by (). Here, we're taking 2 variables as input, multiplying them and displaying the result.

Yikes! When calling a function we need to use parentheses, not brackets. We also need to use a comma to separate parameters, not a semicolon.