will find number which is used frequently(often) in x array
int i;
int x[i],frequency[i];
for(int i=0;i<3;i++)
{
cin>>x[i];
frequency[i]=0;
}
frequency[i]=0;
for(int i=0;i<3;i++)
{
frequency[i]++;
cout<<x[i];
}
frequency[i]++;
cout<<x[i];
cout<<frequency[i];
what should I do extra