Blob


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