Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, char *argv[])
- {
- int c,d ;
- while((c=getchar())!=EOF)
- {
- if(c!=' ')
- putchar(c);
- else
- {
- putchar(c);
- while(c==' ')
- {
- c=getchar();
- }
- }
- }
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement