\"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(void) { long c; long nb = 0; while((c = getchar()) != EOF) { if(c == ' ' || c == '\t') { ++nb; } else { if(nb > 0) { putchar(' '); nb = 0; } putchar(c); } } return 0; }