title: Scanf doesn't work as expected in VS Code
body: <p>I practice a simple example to input operator in C:
  The code as here:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main() {
      int a,b;
      char opera;
      printf("input 2 integer number ");
      scanf("%d %d",&amp;a,&amp;b);
  
      printf("\n input the operator: ");
      scanf("%c", &amp;opera);
  
      switch (opera)
      {
      case '+':
          printf("result is %d \n", a+b);
          break; 
      default:
          break;
      }
  }
  </code></pre>
  
  <p>Problem: Terminal will pass the input operator</p>
  
  <pre><code>input 2 integer number
  4 5
  input the operator:
  PS D:\Quang\3. Study\C\Bai 2\.vscode&gt;
  </code></pre>
  
  <p>But if I input operate first, it work:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main() {
      int a,b;
      char opera;
      printf("\n input the operator: ");
      scanf("%c", &amp;opera);
      printf("input 2 integer number");
      scanf("%d %d",&amp;a,&amp;b);
      switch (opera)
      {
      case '+':
          printf("result is %d \n",a+b);
          break; 
      default:
          break;
      }
  }
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>input the operator: +
  input 2 integer number 4 5
  result is 9
  </code></pre>
  
  <p>Anyone has the same issue with VS Code?</p>