View Code of Problem 43

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

Double click to view unformatted code.


Back to problem 43