main()
{
int i,j;
char a[50],b[50],c;
printf(“请输入一个字符串:\n”);
scanf(“%s”,&a);
i=j=0;
do
{
c=a[i];
if((c>='a' && c<='z') || (c>='A' && c<='Z') || c=='\0')b[j++]=c;
}while(a[i++]!='\0');
printf(“%s”,b);
}
先确定用什么编程语言。
ates. Sloping shoulders, barrel body, long, swin