I wanted to know how should I Find out the unique integers and repeated integers. I have somehow found the repeated integers with their frequency. But how should I do the rest?

#include <stdio.h>

int main()

{

int c=0,arr[10],i,j,m=0;

printf("Enter 10 integers :");

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

{

scanf("%d",&arr[i]);

}

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

{

c=0;

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

{

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

{

c++;

}

}

if(c>1)

{

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

}

}

return 0;

}