#include #include #include #include #include int main() { system("cls"); //INPUT - @STUDENT:ADD YOUR CODE FOR INPUT HERE: char c[10000],s[10000] = " "; int i; gets(c); strcat(s,c); // Fixed Do not edit anything here. printf("\nOUTPUT:\n"); //@STUDENT: WRITE YOUR OUTPUT HERE: for (i = 1; i < strlen(s) ; i++){ if (!((s[i] != ' ') && (s[i - 1] == ' '))) printf("%c",s[i]); } //--FIXED PART - DO NOT EDIT ANY THINGS HERE printf("\n"); system ("pause"); return(0); }