MAX

  1. Assign the first argument to your function result.
  2. For each remaining argument:
    1. Compare the algebraic value of your function result with the argument.
    2. Assign the greater of the two to your function result.