Example 1: Define a function that takes an argument. Call thefunction. Identify what code is the argument and what code is theparameter.
Example 2: Call your function from Example 1 three times withdifferent kinds of arguments: a value, a variable, and anexpression. Identify which kind of argument is which.
Example 3: Create a function with a local variable. Show whathappens when you try to use that variable outside the function.Explain the results.
Example 4: Create a function that takes an argument. Give thefunction parameter a unique name. Show what happens when you try touse that parameter name outside the function. Explain theresults.
Example 5:
OR
OR