Revision: 23151
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 31, 2010 13:52 by sebastianf
Initial Code
#include <stdio.h> int main (int argc, const char * argv[]){ int c, blank=0; c=getchar(); while(c != EOF){ if(c==' '&&blank==0){ blank++; putchar(c); c=getchar(); } elseif(c==' '&&blank!=0){ c=getchar(); } else{ putchar(c); c=getchar(); blank=0; } } }
Initial URL
Initial Description
Initial Title
replace more blanks with one blank
Initial Tags
replace
Initial Language
C