Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  hii
Language: C/C++
Code:
#include <stdio.h>
int main()
{
     printf("Hello World!");
int i,a;
char str[10];
scanf("%s",&str);
for(i=0;str[i]!='\0';i++)
{
a=strcmp(str[i],str[i+1]);
if(a==0)
{
printf("%c",str[i]);
}
}     

     return 0;
}
          
          
          
          
          
          
          
          
Comments: