title: do-while loop "enter more (y/n)" - character issue
body: <p>So I'm working on basic C skills, and I want to design a code which enters as many numbers as the user wants. Then, it should display the count of positive,negative &amp; zero integers entered.
  I've searched Google &amp; StackOverflow. The code seems fine according to those programs.
  It compiles &amp; runs. But whenever I input anything after the prompt "enter more? y/n", it returns to the code..
  Please have a look at the code below:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main() 
  {
      int no,count_neg=0,count_pos=0,count_zero=0;
      char ch='y';
      clrscr();
      do
      {
          puts("Enter number");
          scanf("%d",&amp;no);
          if (no&gt;0)
              count_pos++;
          else if (no&lt;0)
              count_neg++;
          else
              count_zero++;
          puts("want more? - y/n ");
          scanf("%c",&amp;ch);
      }
      while (ch=='y');
  
      if (ch=='n')
      {
          printf("No of positives = %d",count_pos);
          printf("No of negatives = %d",count_neg);
          printf("No of zeros = %d",count_zero);
      }
  
      getch();
      return 0;
  }
  </code></pre>