1 /* 2 1-12. Write a program that prints its input one word per line. 3 */ 4 5 #include <stdio.h> 6 7 main() 8 { 9 int c; 10 11 while ((c = getchar()) != EOF) { 12 if (c == ' ' || c == '\n' || c == '\t') { 13 printf("\n"); 14 } else { 15 printf("%c", c); 16 } 17 } 18 }