Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. #include <string.h>
  4.  
  5.  main()
  6. {
  7.     char input[100];
  8.  
  9.     char input1[100];
  10.  
  11.     gets(input);
  12.  
  13.     for(int i = 0; i < strlen(input); i++){
  14.         if(input[i] !=' ' || input[i] !='.' || input[i] !=',')
  15.  
  16.  
  17.             printf("%c",input1[i] );
  18.            
  19.    
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement