#include<stdio.h> void main( ) { char str[90]; int i; gets(str); for(i=0;str[i]!='\0';i++){ if((str[i]>='A'&&str[i]<='Z')||(str[i]>='a'&&str[i]<='z')){ printf("%c",str[i]); } } printf("\n"); }
Double click to view unformatted code.