Miscellany
public text v1 · immutable#include <stdio.h>
/* Code to replace blanks by a blank */
main()
{
int c,b=0;
while((c=getchar())!=EOF)
{
if (c==' ')
++b;
if(b<2)
putchar(c);
if(b>1)
b=0;
}
}