View Code of Problem 43

#include <stdio.h>
#include <string.h>

int main()
{
	char string[100];
	char *p = string;
	scanf("%s",string);

	while(*p != '\0')
	{
		if((*p>='A'&&*p<='Z')||(*p>='a'&&*p<='z'))
		{
			printf("%c",*p);
		}
		p++;
	}
	
	return 0;
}

Double click to view unformatted code.


Back to problem 43