title: More convenient way to find the max of 2+ numbers?
body: <p>I want code that accepts more than 2 integers and prints out the biggest one. I used <code>Math.MAX</code> but the problem is that it accepts only 2 integers by default, and you can't print all the ints in it. So I had to make it like this:</p>
  
  <pre><code>int max = Math.max(a, Math.max(b, Math.max(c, Math.max(d, e))));
  </code></pre>
  
  <p>Is there a better method to do this?</p>