function large = myifC(a1, a2, a3)
% myifC takes 3 inargs and returns the largest of them 
   if (a1 >= a2) & (a1 >= a3)
      large = a1;
   elseif (a2 >= a1) & (a2 >= a3)
      large = a2;
   else
      large = a3;
   end
end
