\"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
for(nb = 0; (c = getchar()) != EOF;) { if(c == ' ') nb++; if( nb == 0 || nb == 1 ) putchar(c); if(c != ' ' && nb >1) putchar(c); if(c != ' ') nb = 0; }