Hello, I am a Novice.

I wanted to find the unique integers, repeated integers, and their frequency. Here I'm using 10 integers. This is my code for now. Can you explain to me where I am wrong and how should I fix it? Also How show to display unique integers.

#include <stdio.h>

int main()

{

int i , j, repeated , number[10]={1,2,2,1,3,5,3,7,9,1};

printf("Enter 10 integers :");

for(i=0; i<10; i++)

{

repeated = 0;

for(j=0; j<10; j++)

{

if(number[i]==number[j])

{

repeated++;

}

}

printf("\n%d was repeated %d times\n",number[i],repeated);

}

return 0;

}