#include < stdio.h > typedef enum ... { FALSE = 0, TRUE = 1} bool ;main() ... { int c; bool IsLetter, IsSpace; IsLetter = TRUE; IsSpace = FALSE; while ((c = getchar()) != EOF) ...{ if (c == ' ' || c == ' ' || c == ' ') ...{ IsLetter = FALSE; if (IsSpace == FALSE) putchar(' '); IsSpace = TRUE; } else ...{ if (IsLetter == FALSE) ...{ IsLetter = TRUE; putchar(c); } else ...{ putchar(c); IsSpace = FALSE; } } }}