title: How does the ternary operator work?
body: <p>Please demonstrate how the ternary operator works with a regular if/else block. Example:</p>
  
  <pre><code>Boolean isValueBig = value &gt; 100 ? true : false;
  </code></pre>
  
  <hr>
  
  <p><strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/392932/how-do-i-use-the-ternary-operator">How do I use the ternary operator?</a></p>