Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  dddd
Language: C/C++
Code:
#include<stdio.h>
int main()
{
int x=0,i,j;
char a[5000];
for(i=0;a[i]=='\0';i++)
{
scanf("%c",a[i]);
}
for(i=0;a[i]=='\0';i++)
{
for(j=0;j<i;j++)
if(a[j]==a[i])
{
x=1;
}
if(x==0)
{
printf("%c",a[i]);
x=0;
}
}
return(0);
}     
          
          
          
Comments: