output matching but showing wrong answer in Holes in the Text problem

#include<stdio.h>
#include<string.h>
int main()
{
char a[100];
int count=0,i,n;
scanf("%d",&n);
while(n–)
{
scanf("%s",&a);
i=0;
while(a[i]!=’\0’)
{
if((a[i]==‘D’)||(a[i]==‘O’)||(a[i]==‘P’)||(a[i]==‘Q’)||(a[i]==‘R’)||(a[i]==‘A’))
count++;
i++;
}
printf("%d\n",count);
count=0;
}
return 0;
}

This is the code for the program “Holes In the Text”.It is showing correct answer in my computer But when I submitting then it is showing Wrong answer. Can anyone plz tell me where is the fault.?

@ruptam you forgot about ‘B’.