blob: 8d5054246cfc9408ade8e42658831ee4b83996d6 (
plain) (
tree)
|
|
#include<stdio.h>
/*
* Print input one word per line.
*/
main() {
int c;
while ((c = getchar()) != EOF) {
if (c == ' ' || c == '\n' || c == '\t')
putchar('\n');
else {
putchar(c);
}
}
}
|