Advertisement
andreafiori

Untitled

Jul 30th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main(void)
  4. {
  5.   int c;
  6.  
  7.   while((c=getchar())!=EOF)
  8.   {
  9.  
  10.     if( c == ' ' || c == '\n' || c == '\t')
  11.       putchar('\n');
  12.     else
  13.       putchar('*');
  14.   }
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement