title: using switch for grading
body: <p>am trying to make an output of grades using switch
  but there is an error idk why it didn't work it shows me the default message
  i checked : and break but i still dont know the error
  so i need some help 
  thanks</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script&gt;
      var grade=0;
      
      grade=window.prompt("Enter your grade");
      
      switch(grade)
          {
               case grade&gt;= 95:
                  document.write("You got A+");
                  break;
                  
              case grade&lt;95 &amp;&amp; grade&gt;= 90:
                  document.write("You got A");
                  break;   
              
              case grade&lt;90 &amp;&amp; grade&gt;=85:
                  document.write("You got A-");
                  break;
                  
              case grade&lt;85 &amp;&amp; grade&gt;=80:
                  document.write("You got B+");
                  break;
                  
              case grade&lt;80 &amp;&amp; grade&gt;=75:
                  document.write("You got B");
                  break;
              
              case grade&lt;75 &amp;&amp; grade&gt;=70:
                  document.write("You got B-");
                  break;
                  
              case grade&lt;70 &amp;&amp; grade&gt;=65:
                  document.write("You got C+");
                  break;
                  
              case grade&lt;65 &amp;&amp; grade&gt;=60:
                  document.write("You got C");
                  break;
                  
              case grade&lt;60 &amp;&amp; grade&gt;=55:
                  document.write("You got C-");
                  break;
                  
              case grade&lt;55 &amp;&amp; grade&gt;=50:
                  document.write("You got D");
                  break;
                  
              case grade&lt;50:
                  document.write("You FAILED");  
                  break;
                  
               default:
                  document.write("Wrong Number"); 
          }
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>message and i need some help 
  thanks</p>