\"Write a program to copy its input to its output, replacing each string of one or more blanks by a single blank.\"
I\'m assuming by thi
#include main() { int c, numBlank=0 ; while((c= getchar())!=EOF) { if(c ==' ') { numBlank ++; if(numBlank <2) { printf("character is:%c\n",c); } } else { printf("character is:%c\n",c); numBlank =0; } } }