title: if else statment in go lang
body: <p>Could someone help me debug this program, only the else part is processed on every input.
  This id a program for grading students. a student inputs a mark and the the grade is displayed</p>
  
  <pre><code>func main(){
      var x int
      fmt.Println("Enter your marks")
  
      fmt.Scanf("%d",&amp;x)
  
      if (100 &lt;= x) &amp;&amp; (x&lt;=75){
          fmt.Println("D1")
      }else if (74 &lt;= x)&amp;&amp;(x &lt;= 70){
          fmt.Println("D2")
      }else if (69 &lt;= x )&amp;&amp;(x&lt;=65){
          fmt.Println("C3")
      }else if (64 &lt;= x)&amp;&amp;(x &lt;= 60){
          fmt.Println("C4")
      }else if (59 &lt;= x)&amp;&amp;(x &lt;= 55){
          fmt.Println("C5")
      }else if (54 &lt;= x)&amp;&amp;( x&lt;= 50){
          fmt.Println("C6")
      }else if (49 &lt;= x )&amp;&amp;(x&lt;= 45){
          fmt.Println("P7")
      }else{
          fmt.Println("Work harder")
      }
  }
  </code></pre>