\"Write a program to copy its input to its output, replacing each string of one or more blanks by a single blank.\"
I\'m assuming by thi
#include int main() { int c; while( (c = getchar( )) != EOF ) { if (c == ' ') { while ((c = getchar()) == ' '); putchar(' '); putchar(c); } else putchar(c); } return 0; }