\"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
This is what I got:
while ch = getchar() if ch != ' ' putchar(ch) if ch == ' ' if last_seen_ch != ch putchar(ch) last_seen_ch = ch