Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void printword();
  4.  
  5. int main()
  6. {
  7.     printword();
  8. }
  9.  
  10. void printword()
  11. {
  12.    
  13.     int c;
  14.     while ((c = getchar()) != EOF)
  15.     {
  16.         if (c != '\n' || c != "" || c != '\t')
  17.         {
  18.             printf("%c",c);
  19.         }
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement