title: if else inside switch case c language
body: <p>I'm trying to do <code>switch</code> then <code>if else</code> in it. I don't know where I missed but this doesn't work.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>include&lt;stdio.h&gt;
  include&lt;conio.h&gt;
  
  int main()
  {
    clrscr();
  
    int grade;
  
    printf("Input Grade");
    scanf("%d",&amp;grade);
  
    switch(grade&lt;101)
    {
      case 1:
        if (grade&gt;=95)
          printf("A+");
        else
          printf("Invalid");
      break;
      case 2:
        if (grade&gt;=85)
          printf("A");
        else
          printf("Invalid");
        break;
      default:
        printf("Invalid");
    }
  getch();
  }
  </code></pre>
  
  <p>So I don't know what's the matter. Only the first case work, when i enter a lower number than 95 'A' isn't the result. Please help me out.</p>