Review Questions and Excercises

Fill-in-the-Blank
1. A(n) _________ is information that is being passed to a function.

2 answers

argument

arguments are supplied by the caller

parameters are used when defining the function

so, f(x) = x*5 -- x is the parameter

y = f(4) -- 4 is the argument
y = f(sin(pi)) -- sin(pi) is the argument
Thank you Steve I really appreciate your help.