View Code of Problem 43

#include <stdio.h>
#include <string.h>
int main( ){
	char str[90];
	gets(str);
	int i;
	for(i=0;str[i];i++){
		if((str[i]>='A'&&str[i]<='Z')||(str[i]>='a'&&str[i]<='z'))
		printf("%c",str[i]);
	}
	return 0;
} 

Double click to view unformatted code.


Back to problem 43