View Code of Problem 43

#include<stdio.h>
#include<math.h>
#include<string.h>
int main(int argc, char** argv) {

	char arr[100];
	gets(arr);
	
	int i = 0 ;
	
	for(i = 0 ; i <=strlen(arr) ; i++){
		if(  (arr[i] >= 'a' && arr[i] <= 'z')  ||  ( arr[i] >= 'A' && arr[i] <= 'Z') ){
			printf("%c" , arr[i]);
		}
	}

	return 0 ;
}












Double click to view unformatted code.


Back to problem 43