View Code of Problem 43

#include<stdio.h>

int main()
{
	int i;
	char a[90];
	for (i = 0; i <= 89; i++)
		a[i] = '0';
	gets(a);
	for (i = 0; i < 90; i++)
	{
		if ((a[i] >= 'a' && a[i] <= 'z') || (a[i] >= 'A' && a[i] <= 'Z'))
			printf("%c", a[i]);
		else
			continue;
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 43