int main(){ char a[81],current;int isLastSpace = 0;int i = 0;while((current = getchar()) != '\n'){ if(current == ' '){ if(!(isLastSpace)){ a[i] = current;isLastSpace = 1;i++;} } else { a[i] = current;isLastSpace = 0;i++;} } a[i] = ...