While executing the below code,I am getting an error in which i get the output as "upto do you want to enter another character?(Y/N)" and scanf("%c",&choice) is not executed and loops breaks
   #include<stdio.h>
    void main()
    {
     char ch_1,choice;
     do
     { printf("Enter letter:\n");
      scanf("%c",&ch_1);
      //Check uppercase or lower case
      if(ch_1>=65&&ch_1<=90)
      printf("\nuppercase);
      else
      printf("\nlowercase);
      
      printf("\nDo you want to enter another number?(Y/N)");
      scanf("%c",&choice);
     }while(choice=='Y');
  }
