replace more blanks with one blank
Copy this code and paste it in your HTML
#include <stdio.h>
int main (int argc, const char * argv[]){
int c, blank=0;
while(c != EOF){
if(c==' '&&blank==0){
blank++;
}
elseif(c==' '&&blank!=0){
}
else{
blank=0;
}
}
}
Report this snippet
Comments
Subscribe to comments