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.