function res = max3V3(a,b,c)  
% Version 3, still broken
if a > b & a > c
   %!! Test if a is the biggest
   res = a;
elseif b > a & b > c
   %!! Test if b is the biggest
   res = b;
elseif c > a & c > b
   %!! Test if c is the biggest
   res = c;
else
   error('Impossible case.');
   %!! We should never get here if the \code{if} and \code{elseif} cases are complete.
   %!! If we do, we know something's wrong.
end
