View Code of Problem 43

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

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

Double click to view unformatted code.


Back to problem 43