View Code of Problem 43

#include <stdio.h>
#include <string.h>
int main()
{
	char a[100];
  	gets(a);
  	int len=strlen(a);
  	char c;
        c=getchar();
  	for(int i=0;i<len-1;++i)
        {   if(a[i]!='c')
            printf("%c ",a[i]);
         printf("%c",a[len-1]);
         
         
         
        }
          
 
 
}

Double click to view unformatted code.


Back to problem 43