FIT100
A Sample Function
Compute the Body Mass Index when the inputs are in metric
•function <name> ( <parameter list> ) {
*          <function definition>
* }
function bmiM ( weightKg, heightM ) {
   // Figure Body Mass Index in metric units
   return weightKg / (heightM * heightM);
}