View Code of Problem 43

#include <stdio.h>
#include <string.h>
 
int main(){
  char buf[100];
  int i;
  gets(buf);
  for(i=0;i<strlen(buf);i++){
    if(isalpha(buf[i]))
       putchar(buf[i]);
    }
}

Double click to view unformatted code.


Back to problem 43