View Code of Problem 43

#include<stdio.h> 
#include<math.h>
int main()
{
	int i;
	 char str[90];
	 gets(str);
	 for(i=0;str[i]!='\0';i++)
	 {
	 	if((str[i]<='z'&&str[i]>='a')||(str[i]<='Z'&&str[i]>='A'))
	 	{
	 		putchar(str[i]);
		}
	 }
}

Double click to view unformatted code.


Back to problem 43