求解不知道问题出在什么地方
#include "stdio.h"main()
{
int letters,digits,others;
char c;
c=getchar();
letters=0;digits=0;others=0;
while(c!='Y'||c!='y'||c!='N'||c!='n')
if(c>='A'&&c<='Z'||c>='a'&&c<='z')
letters++;
else if(c>='0' && c<='9')
digits++;
else
others++;
if(c=='Y'||c=='y')
{printf("lettes:%d",letters);
printf("digits:%d",digits); }
else
printf("others:%d",others);
}