title: Unable scan character in while loop
body: <p>i want infinite scan
  this is my code:</p>
  
  <pre><code>int main() {
      int i=1;
      char score;
      while(1)
      {
          printf("Please Input No %d of char",i);
          scanf("%C",&amp;score);
          i++;
      }
      return 0;
  }
  </code></pre>
  
  <p>my output:</p>
  
  <pre><code>Please Input No 1 of char:A
  Please Input No 2 of char:B
  Please Input No 3 of char:Please Input No 4 of char:C
  Please Input No 5 of char:Please Input No 6 of char:
  </code></pre>
  
  <p>how do i fix my i variable in while loop normal.
  thanks</p>