title: Most efficient way to find the greatest of three ints
body: <p>Below is my pseudo code.</p>
  
  <pre class="lang-none prettyprint-override"><code>function highest(i, j, k)
  {
    if(i &gt; j &amp;&amp; i &gt; k)
    {
      return i;
    }
    else if (j &gt; k)
    {
      return j;
    }
    else
    {
      return k;
    }
  }
  </code></pre>
  
  <p>I think that works, but is that the most efficient way in C++?</p>