whats wrong in this code

#include<stdio.h>
#include<stdlib.h>
int main()
{
int pos,neg,zero,num;
char ans=‘y’;
pos=neg=zero=0;
while(ans==‘y’||ans==‘Y’)
{
printf("\nEnter a number");
scanf("%d",&num);

    if(num=0)
        zero++;

    if(num>0)
        pos++;

    if(num<0)
        neg++;


          fflush(stdin);
              
    printf("\nDo you want to continue?\n");

    scanf("%c",&ans);

}
printf("You entered %d positive number(s)\n",pos);
printf("You entered %d negative number(s)\n",neg);
printf("You entered %d zero(s)\n",zero);
return 0;

}

printf("\nDo you want to continue?\n");

Such superfluous print statements will give you a WA. Its a machine checking if your output EXACTLY matches the expected output or not. Please read output section carefully and print only the required statements.