include <stdio.h>#include<string.h> int main(){char ch[100];int n,i;gets(ch);for(i=0;i<strlen(ch);i++)if(ch[i]!=' ')printf("%c",ch[i]);printf("\n");return 0;}/*运行结果:I Love YouILoveYou*/