View Code of Problem 43

#include<stdio.h>
#include<string.h>
int main()
{
	char s[90];
	int j=0;
	scanf("%s",&s);
	while(s[j]!='\0')
	{
		if((s[j]>='A'&&s[j]<='Z')||(s[j]>='a'&&s[j]<='z'))
		printf("%c",s[j]);
		j++;
	}
	
}
 

Double click to view unformatted code.


Back to problem 43