FIT100
Function Features (cont.)
•Parameters vs Arguments … parameters are the “formal” variables in the function declaration; arguments are the same thing in the call
function BMI (units, height, weight ) {
   // Compute BMI
   if (units == "English")
      return bmiE(weight, height);
   else
      return bmiM(weight, height);
}
...
index = BMI("English",72,200)
...
Parameters
Arguments