title: C++: Using multiple conditions in switch statements
body: <p>I am in a beginning C++ programming class and I need help with nesting switch statements and using multiple conditions, because I have to translate a program I already wrote from if/else statements to switch statements, because I didn't know I was supposed to use the switch statement.</p>
  
  <p>For example, how do I change something like:</p>
  
  <pre><code>if (temperature &gt;= -459 &amp;&amp; temperature &lt;= -327)
  {
      cout &lt;&lt; "Ethyl Alcohol will freeze.\n";
  }
  else if (temperature &gt;= -326 &amp;&amp; temperature &lt;= -30)
  {
      cout &lt;&lt; "Water will freeze.\n";
  }
  else if ...
  {
  }
  else 
  {
  }
  </code></pre>
  
  <p>Into a switch/case statement? I can get the first level, but how do I nest and have multiple conditions like the temperature statements above?</p>