Passing Arguments

What is a parameter?

A parameter is information the function needs to do its work.

What is an argument?

An argument is a value passed to a function.

How do you write a function that takes in information?

To define parameters for a function, place them within the parentheses in the function's definition.

How do you pass arguments to functions?

Pass an argument to a function by including a value in the parentheses when you call the function.