title: Multiple statements if condition is true in shorthand if
body: <p>I recently discovered the shorthand if statement and after searching online I couldn't find a definite answer. </p>
  
  <p>Is it possible to execute 2 statements if the condition is true/false?</p>
  
  <pre><code>int x = (expression) ? 1 : 2;
  </code></pre>
  
  <p>for example</p>
  
  <pre><code>int x = (expression) ? 1 AND 2 : 3;
  </code></pre>
  
  <p>Seeing as i haven't comne across a example where they used it I guess it's not possible but I wouldn't want to miss out.</p>