title: Is It Possible To Do The Following In A Switch Statement - C++?
body: <p>I am a programming student in my second OOP class, and I have a simple question that I have not been able to find the answer to on the internet, if it's out there, I apologize.</p>
  
  <p>My question is this:</p>
  
  <p>Is it possible have Boolean conditions in switch statements?</p>
  
  <p>Example:</p>
  
  <pre><code>switch(userInputtedInt)
  {
      case &gt;= someNum &amp;&amp; &lt;= someOtherNum
      break;
      // Is this possible?
  }
  </code></pre>