View Code of Problem 43

#include<stdio.h>
#include<math.h>
int main()
{
    int i;
    char str[90];
    for(i=0; i<=89; i++)
        str[i]='0';
    scanf("%s",str);
    for(i=0; i<=89; i++)
    {
        if((str[i]>=65&&str[i]<=90)||(str[i]>=97&&str[i]<=122))
            printf("%c",str[i]);
    }
    return 0;
}

Double click to view unformatted code.


Back to problem 43