View Code of Problem 43

#include <string.h>
int main()
{
	char str[90];
	gets(str);
	int len=strlen(str);
	for(int i=0;i!=len;++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